Package org.sm.smtools.exceptions
Class FileWriteException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sm.smtools.exceptions.FileWriteException
- All Implemented Interfaces:
Serializable
Indicates that an attempt to write a value to the file denoted by the
specified filename has failed.
Note that this class cannot be subclassed!
- Version:
- 22/01/2004
- Author:
- Sven Maerivoet
- See Also:
-
Constructor Summary
ConstructorDescriptionFileWriteException
(String filename, String value) Constructs aFileWriteException
object, based on the specified filename and the value that should have been written. -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of the file this exception corresponds to.getValue()
Returns the value that should have been written.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileWriteException
Constructs aFileWriteException
object, based on the specified filename and the value that should have been written.- Parameters:
filename
- the name of the file this exception corresponds tovalue
- the value that should have been written
-
-
Method Details
-
getFilename
Returns the name of the file this exception corresponds to.- Returns:
- the name of the file this exception corresponds to
-
getValue
Returns the value that should have been written.- Returns:
- the value that should have been written
-