Class IllegalKeyException

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

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

      • IllegalKeyException

        public IllegalKeyException​(String aKey,
                                   String aMessage,
                                   String aErrorCode)
        Instantiates a new illegal key exception.
        Parameters:
        aKey - the key
        aMessage - the message
        aErrorCode - the error code
      • IllegalKeyException

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

        public IllegalKeyException​(String aKey,
                                   String message,
                                   Throwable cause)
        Instantiates a new illegal key exception.
        Parameters:
        aKey - the key
        message - the message
        cause - the cause
      • IllegalKeyException

        public IllegalKeyException​(String aKey,
                                   String message)
        Instantiates a new illegal key exception.
        Parameters:
        aKey - the key
        message - the message
      • IllegalKeyException

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

        public IllegalKeyException​(String aKey,
                                   Throwable cause)
        Instantiates a new illegal key 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