Class FileStoreException

All Implemented Interfaces:
Serializable

public class FileStoreException extends RuntimeException

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 Details

    • FileStoreException

      public FileStoreException(String exceptionMessageKey, String fsName)
      Creates a FileStore exception
      Parameters:
      exceptionMessageKey - The message key(from the properties file)
      fsName - The filestore name
    • FileStoreException

      public FileStoreException(String exceptionMessageKey, FileStore fs, Throwable e)
      Creates a FileStore exception
      Parameters:
      exceptionMessageKey - The message key(from the properties file)
      fs - The filestore object
      e - The original exception class
    • FileStoreException

      public FileStoreException(String exceptionMessageKey, FileStore fs, Object arg, Throwable e)
      Creates a FileStore exception
      Parameters:
      exceptionMessageKey - The message key(from the properties file)
      fs - The filestore object
      arg - The variable data that can be in the error message.
      e - The original exception class
  • Method Details

    • getExceptionMessageKey

      public String getExceptionMessageKey()
      Returns:
      The exception message key.