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
public class NoWriteAccessException extends FileSystemException
The Class NoWriteAccessException.
- See Also:
- Serialized Form
-
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.ErrorCodeProperty
Nested classes/interfaces inherited from interface org.refcodes.filesystem.FileHandleAccessor
FileHandleAccessor.FileHandleMutator, FileHandleAccessor.FileHandleProperty
-
Constructor Summary
Constructors Constructor Description NoWriteAccessException(FileHandle aFile, String message)
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 message, Throwable cause)
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 cause)
Instantiates a new no write access exception.NoWriteAccessException(FileHandle aFile, Throwable aCause, String aErrorCode)
Instantiates a new no write access exception. -
Method Summary
Modifier and Type Method Description FileHandle
getFile()
Gets the file.Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
NoWriteAccessException
Instantiates a new no write access exception.- Parameters:
aFile
- the fileaMessage
- the messageaErrorCode
- the error code
-
NoWriteAccessException
public NoWriteAccessException(FileHandle aFile, String aMessage, Throwable aCause, String aErrorCode)Instantiates a new no write access exception.- Parameters:
aFile
- the fileaMessage
- the messageaCause
- the causeaErrorCode
- the error code
-
NoWriteAccessException
Instantiates a new no write access exception.- Parameters:
aFile
- the filemessage
- the messagecause
- the cause
-
NoWriteAccessException
Instantiates a new no write access exception.- Parameters:
aFile
- the filemessage
- the message
-
NoWriteAccessException
Instantiates a new no write access exception.- Parameters:
aFile
- the fileaCause
- the causeaErrorCode
- the error code
-
NoWriteAccessException
Instantiates a new no write access exception.- Parameters:
aFile
- the filecause
- the cause
-
-
Method Details
-
getFile
Gets the file.- Specified by:
getFile
in interfaceFileHandleAccessor
- Returns:
- the file
-