Package org.refcodes.structure
Class KeyNotFoundException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- org.refcodes.exception.AbstractException
-
- org.refcodes.structure.StructureException
-
- org.refcodes.structure.KeyNotFoundException
-
- All Implemented Interfaces:
org.refcodes.mixin.KeyAccessor<java.lang.String>
public class KeyNotFoundException extends StructureException 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 KeyNotFoundException(java.lang.String aKey, java.lang.String message)
Instantiates a new net runtime exception.KeyNotFoundException(java.lang.String aKey, java.lang.String aMessage, java.lang.String aErrorCode)
Instantiates a new net runtime exception.KeyNotFoundException(java.lang.String aKey, java.lang.String message, java.lang.Throwable cause)
Instantiates a new net runtime exception.KeyNotFoundException(java.lang.String aKey, java.lang.String aMessage, java.lang.Throwable aCause, java.lang.String aErrorCode)
Instantiates a new net runtime exception.KeyNotFoundException(java.lang.String aKey, java.lang.Throwable cause)
Instantiates a new net runtime exception.KeyNotFoundException(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.String
getKey()
-
-
-
Constructor Detail
-
KeyNotFoundException
public KeyNotFoundException(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
-
KeyNotFoundException
public KeyNotFoundException(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
-
KeyNotFoundException
public KeyNotFoundException(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
-
KeyNotFoundException
public KeyNotFoundException(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
-
KeyNotFoundException
public KeyNotFoundException(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
-
KeyNotFoundException
public KeyNotFoundException(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
-
-