Package com.jbstrap.core.filestore
Class FileStoreException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jbstrap.core.filestore.FileStoreException
- All Implemented Interfaces:
Serializable
FileStore Exception
This error could be caused by the FileStore API and it's related operations
An error may occur if:
- The specified file store is not found, (ie, no filestore with the specified name exists in the framework)
For more information about creating FileStores, see:
JBStrap.createFileSore()
- If the specified file doesn't exist in the filestore. This is possible, if the file does exist, but not in the specified filestore, or if it was deleted.
- If during the writing or reading of the file, an error was encountered. One such error is if the disk is full, or the lack of access rights, or other
IOException
- Author:
- JBStrap
- See Also:
-
Constructor Summary
ConstructorDescriptionFileStoreException
(String exceptionMessageKey, FileStore fs, Object arg, Throwable e) Creates a FileStore exceptionFileStoreException
(String exceptionMessageKey, FileStore fs, Throwable e) Creates a FileStore exceptionFileStoreException
(String exceptionMessageKey, String fsName) Creates a FileStore exception -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
FileStoreException
Creates a FileStore exception- Parameters:
exceptionMessageKey
- The message key(from the properties file)fsName
- The filestore name
-
FileStoreException
Creates a FileStore exception- Parameters:
exceptionMessageKey
- The message key(from the properties file)fs
- The filestore objecte
- The original exception class
-
FileStoreException
Creates a FileStore exception- Parameters:
exceptionMessageKey
- The message key(from the properties file)fs
- The filestore objectarg
- The variable data that can be in the error message.e
- The original exception class
-
-
Method Details
-
getExceptionMessageKey
- Returns:
- The exception message key.
-