Class TabularException.KeyException

java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.tabular.TabularException
org.refcodes.tabular.TabularException.KeyException
All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.KeyAccessor<String>
Direct Known Subclasses:
HeaderMismatchException
Enclosing class:
TabularException

protected abstract static class TabularException.KeyException extends TabularException implements org.refcodes.mixin.KeyAccessor<String>
Base exception with a key (name).
See Also:
  • Field Details

    • _key

      protected String _key
  • Constructor Details

    • KeyException

      public KeyException(String aMessage, String aKey, String aErrorCode)
      Parameters:
      aKey - The key involved in this exception.
    • KeyException

      public KeyException(String aMessage, String aKey, Throwable aCause, String aErrorCode)
      Parameters:
      aKey - The key involved in this exception.
    • KeyException

      public KeyException(String aMessage, String aKey, Throwable aCause)
      Parameters:
      aKey - The key involved in this exception.
    • KeyException

      public KeyException(String aMessage, String aKey)
      Parameters:
      aKey - The key involved in this exception.
    • KeyException

      public KeyException(String aKey, Throwable aCause, String aErrorCode)
      Parameters:
      aKey - The key involved in this exception.
    • KeyException

      public KeyException(String aKey, Throwable aCause)
      Parameters:
      aKey - The key involved in this exception.
  • Method Details

    • getKey

      public String getKey()
      Specified by:
      getKey in interface org.refcodes.mixin.KeyAccessor<String>
    • getPatternArguments

      public Object[] getPatternArguments()
      Specified by:
      getPatternArguments in interface org.refcodes.exception.Trap