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:
-
Nested Class Summary
Nested classes/interfaces inherited from class org.refcodes.tabular.TabularException
TabularException.ColumnException, TabularException.HeaderException, TabularException.KeyExceptionNested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B extends org.refcodes.exception.ErrorCodeAccessor.ErrorCodeBuilder<B>>, org.refcodes.exception.ErrorCodeAccessor.ErrorCodeMutator, org.refcodes.exception.ErrorCodeAccessor.ErrorCodePropertyNested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K, B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends Object> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKeyException(String aMessage, String aKey) KeyException(String aMessage, String aKey, String aErrorCode) KeyException(String aMessage, String aKey, Throwable aCause) KeyException(String aMessage, String aKey, Throwable aCause, String aErrorCode) KeyException(String aKey, Throwable aCause) KeyException(String aKey, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class org.refcodes.exception.AbstractException
getErrorCode, getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_key
-
-
Constructor Details
-
KeyException
- Parameters:
aKey- The key involved in this exception.
-
KeyException
- Parameters:
aKey- The key involved in this exception.
-
KeyException
- Parameters:
aKey- The key involved in this exception.
-
KeyException
- Parameters:
aKey- The key involved in this exception.
-
KeyException
- Parameters:
aKey- The key involved in this exception.
-
KeyException
- Parameters:
aKey- The key involved in this exception.
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceorg.refcodes.mixin.KeyAccessor<String>
-
getPatternArguments
- Specified by:
getPatternArgumentsin interfaceorg.refcodes.exception.Trap
-