Serializable
, org.refcodes.exception.ErrorCodeAccessor
, org.refcodes.exception.Trap
, FileHandleAccessor
public class NoWriteAccessException extends FileSystemException
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeProperty
FileHandleAccessor.FileHandleMutator, FileHandleAccessor.FileHandleProperty
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.
|
Modifier and Type | Method | Description |
---|---|---|
FileHandle |
getFile() |
Gets the file.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public NoWriteAccessException(FileHandle aFile, String aMessage, String aErrorCode)
aFile
- the fileaMessage
- the messageaErrorCode
- the error codepublic NoWriteAccessException(FileHandle aFile, String aMessage, Throwable aCause, String aErrorCode)
aFile
- the fileaMessage
- the messageaCause
- the causeaErrorCode
- the error codepublic NoWriteAccessException(FileHandle aFile, String message, Throwable cause)
aFile
- the filemessage
- the messagecause
- the causepublic NoWriteAccessException(FileHandle aFile, String message)
aFile
- the filemessage
- the messagepublic NoWriteAccessException(FileHandle aFile, Throwable aCause, String aErrorCode)
aFile
- the fileaCause
- the causeaErrorCode
- the error codepublic NoWriteAccessException(FileHandle aFile, Throwable cause)
aFile
- the filecause
- the causepublic FileHandle getFile()
getFile
in interface FileHandleAccessor
Copyright © 2018. All rights reserved.