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