Class FileSystemException.FileException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.filesystem.FileSystemException
org.refcodes.filesystem.FileSystemException.FileException
- All Implemented Interfaces:
Serializable,org.refcodes.exception.ErrorCodeAccessor,org.refcodes.exception.Trap,FileHandleAccessor
- Direct Known Subclasses:
ConcurrentAccessException,FileSystemException.NoAccessException,IllegalFileException,UnknownFileException
- Enclosing class:
FileSystemException
protected abstract static class FileSystemException.FileException
extends FileSystemException
implements FileHandleAccessor
The Class
FileSystemException.FileException.- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.refcodes.filesystem.FileSystemException
FileSystemException.FileException, FileSystemException.KeyException, FileSystemException.NameException, FileSystemException.NoAccessException, FileSystemException.NoFileSystemAccessException, FileSystemException.PathExceptionNested 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.FileHandleBuilder<B extends FileHandleAccessor.FileHandleBuilder<B>>, FileHandleAccessor.FileHandleMutator, FileHandleAccessor.FileHandleProperty -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionFileException(FileHandle aFileHandle, String aMessage) FileException(FileHandle aFileHandle, String aMessage, String aErrorCode) FileException(FileHandle aFileHandle, String aMessage, Throwable aCause) FileException(FileHandle aFileHandle, String aMessage, Throwable aCause, String aErrorCode) FileException(FileHandle aFileHandle, Throwable aCause) FileException(FileHandle aFileHandle, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, 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, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_fileHandle
-
-
Constructor Details
-
FileException
- Parameters:
aFileHandle- The file (handle) involved in this exception.- See Also:
-
FileException
- Parameters:
aFileHandle- The file (handle) involved in this exception.- See Also:
-
FileException
- Parameters:
aFileHandle- The file (handle) involved in this exception.- See Also:
-
FileException
- Parameters:
aFileHandle- The file (handle) involved in this exception.- See Also:
-
FileException
- Parameters:
aFileHandle- The file (handle) involved in this exception.- See Also:
-
FileException
- Parameters:
aFileHandle- The file (handle) involved in this exception.- See Also:
-
-
Method Details
-
getFileHandle
Retrieves the file handle from the file property.- Specified by:
getFileHandlein interfaceFileHandleAccessor- Returns:
- The file handle stored by the file handle property.
-
getPatternArguments
- Specified by:
getPatternArgumentsin interfaceorg.refcodes.exception.Trap
-