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
public class UnknownKeyException extends ComposerException
This exception is used to indicate that no element could be found for a key.- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description UnknownKeyException(RuntimeKey key)
Constructs the exception with the offending key.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RuntimeKey
getKey()
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 Detail
-
UnknownKeyException
public UnknownKeyException(RuntimeKey key)
Constructs the exception with the offending key.- Parameters:
key
- The key for which no element could be found.
-
-
Method Detail
-
getKey
public RuntimeKey getKey()
This method returns the key for which no element could be found.- Returns:
- the key for which no element could be found.
-
-