Package org.refcodes.structure
Class KeyNotFoundRuntimeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.refcodes.exception.AbstractRuntimeException
-
- org.refcodes.structure.StructureRuntimeException
-
- org.refcodes.structure.KeyNotFoundRuntimeException
-
- All Implemented Interfaces:
org.refcodes.mixin.KeyAccessor<java.lang.String>
public class KeyNotFoundRuntimeException extends StructureRuntimeException implements org.refcodes.mixin.KeyAccessor<java.lang.String>
Thrown in case this instance does not contain the requested element (no such key found in the collection).- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested 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.ErrorCodeProperty
-
Nested classes/interfaces inherited from interface org.refcodes.mixin.KeyAccessor
org.refcodes.mixin.KeyAccessor.KeyBuilder<K extends java.lang.Object,B extends org.refcodes.mixin.KeyAccessor.KeyBuilder<K,B>>, org.refcodes.mixin.KeyAccessor.KeyMutator<K extends java.lang.Object>, org.refcodes.mixin.KeyAccessor.KeyProperty<K extends java.lang.Object>
-
-
Constructor Summary
Constructors Constructor Description KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.String message)Instantiates a new net runtime exception.KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.String aMessage, java.lang.String aErrorCode)Instantiates a new net runtime exception.KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.String message, java.lang.Throwable cause)Instantiates a new net runtime exception.KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new net runtime exception.KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.Throwable cause)Instantiates a new net runtime exception.KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new net runtime exception.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetKey()
-
-
-
Constructor Detail
-
KeyNotFoundRuntimeException
public KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.String aMessage, java.lang.String aErrorCode)Instantiates a new net runtime exception.- Parameters:
aKey- The key which has not been found.aMessage- the messageaErrorCode- the error code
-
KeyNotFoundRuntimeException
public KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new net runtime exception.- Parameters:
aKey- The key which has not been found.aMessage- the messageaCause- the causeaErrorCode- the error code
-
KeyNotFoundRuntimeException
public KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.String message, java.lang.Throwable cause)Instantiates a new net runtime exception.- Parameters:
aKey- The key which has not been found.message- the messagecause- the cause
-
KeyNotFoundRuntimeException
public KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.String message)Instantiates a new net runtime exception.- Parameters:
aKey- The key which has not been found.message- the message
-
KeyNotFoundRuntimeException
public KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.Throwable aCause, java.lang.String aErrorCode)Instantiates a new net runtime exception.- Parameters:
aKey- The key which has not been found.aCause- the causeaErrorCode- the error code
-
KeyNotFoundRuntimeException
public KeyNotFoundRuntimeException(java.lang.String aKey, java.lang.Throwable cause)Instantiates a new net runtime exception.- Parameters:
aKey- The key which has not been found.cause- the cause
-
-