Class KeyNotFoundException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.refcodes.exception.AbstractException
org.refcodes.struct.StructureException
org.refcodes.struct.KeyNotFoundException
- All Implemented Interfaces:
Serializable, org.refcodes.exception.ErrorCodeAccessor, org.refcodes.exception.Trap, org.refcodes.mixin.KeyAccessor<String>
public class KeyNotFoundException
extends StructureException
implements org.refcodes.mixin.KeyAccessor<String>
Thrown in case this instance does not contain the requested element (no such
key found in the collection).
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.refcodes.exception.ErrorCodeAccessor
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,B>, org.refcodes.mixin.KeyAccessor.KeyMutator<K>, org.refcodes.mixin.KeyAccessor.KeyProperty<K> -
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionKeyNotFoundException(String aMessage, String aKey) KeyNotFoundException(String aMessage, String aKey, String aErrorCode) KeyNotFoundException(String aMessage, String aKey, Throwable aCause) KeyNotFoundException(String aMessage, String aKey, Throwable aCause, String aErrorCode) KeyNotFoundException(String aKey, Throwable aCause) KeyNotFoundException(String aKey, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class org.refcodes.exception.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 org.refcodes.exception.Trap
toLocalizedMessage, toMessage, toMessage, toMessage, toShortLocalizedMessage, toShortMessage
-
Field Details
-
_key
-
-
Constructor Details
-
KeyNotFoundException
-
KeyNotFoundException
-
KeyNotFoundException
-
KeyNotFoundException
-
KeyNotFoundException
-
KeyNotFoundException
-
-
Method Details
-
getKey
-
getPatternArguments
- Specified by:
getPatternArgumentsin interfaceorg.refcodes.exception.Trap
-