java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.filesystem.FileSystemException
org.refcodes.filesystem.NoWriteAccessException
- All Implemented Interfaces:
Serializable,org.refcodes.exception.ErrorCodeAccessor,org.refcodes.exception.Trap,FileHandleAccessor
The Class NoWriteAccessException.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodePropertyNested classes/interfaces inherited from interface org.refcodes.filesystem.FileHandleAccessor
FileHandleAccessor.FileHandleMutator, FileHandleAccessor.FileHandleProperty -
Constructor Summary
ConstructorsConstructorDescriptionNoWriteAccessException(FileHandle aFile, String aMessage) Instantiates a new no write access exception.NoWriteAccessException(FileHandle aFile, String aMessage, String aErrorCode) Instantiates a new no write access exception.NoWriteAccessException(FileHandle aFile, String aMessage, Throwable aCause) Instantiates a new no write access exception.NoWriteAccessException(FileHandle aFile, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new no write access exception.NoWriteAccessException(FileHandle aFile, Throwable aCause) Instantiates a new no write access exception.NoWriteAccessException(FileHandle aFile, Throwable aCause, String aErrorCode) Instantiates a new no write access exception. -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCodeMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Constructor Details
-
NoWriteAccessException
Instantiates a new no write access exception.- Parameters:
aFile- the fileaMessage- The aMessage describing this exception.aErrorCode- The error code identifying this exception.
-
NoWriteAccessException
public NoWriteAccessException(FileHandle aFile, String aMessage, Throwable aCause, String aErrorCode) Instantiates a new no write access exception. -
NoWriteAccessException
Instantiates a new no write access exception. -
NoWriteAccessException
Instantiates a new no write access exception.- Parameters:
aFile- the fileaMessage- The aMessage describing this exception.
-
NoWriteAccessException
Instantiates a new no write access exception. -
NoWriteAccessException
Instantiates a new no write access exception.
-
-
Method Details
-
getFile
Gets the file.- Specified by:
getFilein interfaceFileHandleAccessor- Returns:
- the file
-