Class FileAlreadyExistsException

  • All Implemented Interfaces:
    Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.KeyAccessor<String>

    public class FileAlreadyExistsException
    extends FileSystemException
    The Class FileAlreadyExistsException.
    See Also:
    Serialized Form
    • Constructor Detail

      • FileAlreadyExistsException

        public FileAlreadyExistsException​(String aKey,
                                          String aMessage,
                                          String aErrorCode)
        Instantiates a new file already exists exception.
        Parameters:
        aKey - the key
        aMessage - the message
        aErrorCode - the error code
      • FileAlreadyExistsException

        public FileAlreadyExistsException​(String aKey,
                                          String aMessage,
                                          Throwable aCause,
                                          String aErrorCode)
        Instantiates a new file already exists exception.
        Parameters:
        aKey - the key
        aMessage - the message
        aCause - the cause
        aErrorCode - the error code
      • FileAlreadyExistsException

        public FileAlreadyExistsException​(String aKey,
                                          String message,
                                          Throwable cause)
        Instantiates a new file already exists exception.
        Parameters:
        aKey - the key
        message - the message
        cause - the cause
      • FileAlreadyExistsException

        public FileAlreadyExistsException​(String aKey,
                                          String message)
        Instantiates a new file already exists exception.
        Parameters:
        aKey - the key
        message - the message
      • FileAlreadyExistsException

        public FileAlreadyExistsException​(String aKey,
                                          Throwable aCause,
                                          String aErrorCode)
        Instantiates a new file already exists exception.
        Parameters:
        aKey - the key
        aCause - the cause
        aErrorCode - the error code
      • FileAlreadyExistsException

        public FileAlreadyExistsException​(String aKey,
                                          Throwable cause)
        Instantiates a new file already exists exception.
        Parameters:
        aKey - the key
        cause - the cause
    • Method Detail

      • getKey

        public String getKey()
        Gets the key.
        Specified by:
        getKey in interface org.refcodes.mixin.KeyAccessor<String>
        Returns:
        the key