Package org.sm.smtools.exceptions
Class FileCantBeCreatedException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.sm.smtools.exceptions.FileCantBeCreatedException
- All Implemented Interfaces:
java.io.Serializable
public final class FileCantBeCreatedException
extends java.lang.Exception
Indicates that an attempt to create a file denoted by the specified filename has failed.
Note that this class cannot be subclassed!
- Version:
- 22/01/2004
- Author:
- Sven Maerivoet
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description FileCantBeCreatedException(java.lang.String filename)
Constructs aFileCantBeCreatedException
object, based on the specified filename. -
Method Summary
Modifier and Type Method Description java.lang.String
getFilename()
Returns 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
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Constructor Details
-
FileCantBeCreatedException
public FileCantBeCreatedException(java.lang.String filename)Constructs aFileCantBeCreatedException
object, based on the specified filename.- Parameters:
filename
- the name of the file this exception corresponds to
-
-
Method Details
-
getFilename
public java.lang.String getFilename()Returns the name of the file this exception corresponds to.- Returns:
- the name of the file this exception corresponds to
-