Class UnknownKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.composer.ComposerException
com.aquima.interactions.composer.exception.UnknownKeyException
- All Implemented Interfaces:
Serializable
This exception is used to indicate that no element could be found for a key.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs the exception with the offending key. -
Method Summary
Modifier and TypeMethodDescriptiongetKey()
This method returns the key for which no element could be found.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownKeyException
Constructs the exception with the offending key.- Parameters:
key
- The key for which no element could be found.
-
-
Method Details
-
getKey
This method returns the key for which no element could be found.- Returns:
- the key for which no element could be found.
-