Class AmbiguousKeyRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.refcodes.exception.AbstractRuntimeException
org.refcodes.struct.StructureRuntimeException
org.refcodes.struct.AmbiguousKeyRuntimeException
- All Implemented Interfaces:
Serializable, ErrorCodeAccessor, Trap, KeyAccessor<String>
public class AmbiguousKeyRuntimeException
extends StructureRuntimeException
implements 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 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
ConstructorsConstructorDescriptionAmbiguousKeyRuntimeException(String aMessage, String aKey) AmbiguousKeyRuntimeException(String aMessage, String aKey, String aErrorCode) AmbiguousKeyRuntimeException(String aMessage, String aKey, Throwable aCause) AmbiguousKeyRuntimeException(String aMessage, String aKey, Throwable aCause, String aErrorCode) AmbiguousKeyRuntimeException(String aKey, Throwable aCause) AmbiguousKeyRuntimeException(String aKey, Throwable aCause, String aErrorCode) -
Method Summary
Methods inherited from class AbstractRuntimeException
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
-
AmbiguousKeyRuntimeException
-
AmbiguousKeyRuntimeException
-
AmbiguousKeyRuntimeException
-
AmbiguousKeyRuntimeException
-
AmbiguousKeyRuntimeException
-
AmbiguousKeyRuntimeException
-
-
Method Details
-
getKey
- Specified by:
getKeyin interfaceKeyAccessor<String>
-
getPatternArguments
- Specified by:
getPatternArgumentsin interfaceTrap
-