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, ErrorCodeAccessor, Trap, KeyAccessor<String>
- Direct Known Subclasses:
HeaderMismatchException
- Enclosing class:
TabularException
protected abstract static class TabularException.KeyException
extends TabularException
implements KeyAccessor<String>
Base exception with a key (name).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class TabularException
TabularException.ColumnException, TabularException.HeaderException, TabularException.KeyExceptionNested classes/interfaces inherited from interface ErrorCodeAccessor
ErrorCodeAccessor.ErrorCodeBuilder<B>, ErrorCodeAccessor.ErrorCodeMutator, ErrorCodeAccessor.ErrorCodePropertyNested classes/interfaces inherited from interface KeyAccessor
KeyAccessor.KeyBuilder<K,B>, KeyAccessor.KeyMutator<K>, KeyAccessor.KeyProperty<K> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKeyException(String aMessage, String aKey) Instantiates the classTabularException.KeyException.KeyException(String aMessage, String aKey, String aErrorCode) Instantiates the classTabularException.KeyException.KeyException(String aMessage, String aKey, Throwable aCause) Instantiates the classTabularException.KeyException.KeyException(String aMessage, String aKey, Throwable aCause, String aErrorCode) Instantiates the classTabularException.KeyException.KeyException(String aKey, Throwable aCause) Instantiates the classTabularException.KeyException.KeyException(String aKey, Throwable aCause, String aErrorCode) Instantiates the classTabularException.KeyException. -
Method Summary
Methods inherited from class AbstractException
getErrorCode, getMessageMethods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringMethods inherited from class Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_key
-
-
Constructor Details
-
KeyException
Instantiates the classTabularException.KeyException.- Parameters:
aKey- The key involved in this exception.- See Also:
-
KeyException
Instantiates the classTabularException.KeyException.- Parameters:
aKey- The key involved in this exception.- See Also:
-
KeyException
Instantiates the classTabularException.KeyException.- Parameters:
aKey- The key involved in this exception.- See Also:
-
KeyException
Instantiates the classTabularException.KeyException.- Parameters:
aKey- The key involved in this exception.- See Also:
-
KeyException
Instantiates the classTabularException.KeyException.- Parameters:
aKey- The key involved in this exception.- See Also:
-
KeyException
Instantiates the classTabularException.KeyException.- Parameters:
aKey- The key involved in this exception.- See Also:
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceKeyAccessor<String>
-
getPatternArguments
- Specified by:
getPatternArgumentsin interfaceTrap
-