Class UnknownElementException
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.UnknownElementException
- All Implemented Interfaces:
Serializable
Composer exception that is used to notify the usage of an invalid element name and type combination.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnknownElementException
(ElementType type, String contentName) Constructs an exception for an invalid name and type combination. -
Method Summary
Modifier and TypeMethodDescriptionReturns the element name of the name and type combination that was not valid.Returns the element type of the name and type combination that was not valid.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnknownElementException
Constructs an exception for an invalid name and type combination.- Parameters:
type
- Element type that was not valid in combination with the name.contentName
- Name of the element that was not valid in combination with the type.
-
-
Method Details
-
getElementType
Returns the element type of the name and type combination that was not valid.- Returns:
- The element type of the name and type combination that was not valid.
-
getElementName
Returns the element name of the name and type combination that was not valid.- Returns:
- The element name of the name and type combination that was not valid.
-