Class ExpandException
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.ExpandException
- All Implemented Interfaces:
Serializable
This exception is used during expansion to pass along an error with additional information about where the error
occurred in the page structure.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExpandException
(String elementName, String message) Constructs the exception with the name of the failed component and the message.ExpandException
(String elementName, String message, Throwable cause) Constructs the exception with the name of the failed component and the message. -
Method Summary
Modifier and TypeMethodDescriptionvoid
addToCallstack
(String name) This method may be used to add a container name to the stack of containers that included the failed element.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExpandException
Constructs the exception with the name of the failed component and the message.- Parameters:
elementName
- The name of the component where the error originated.message
- The message explaining the error.
-
ExpandException
Constructs the exception with the name of the failed component and the message.- Parameters:
elementName
- The name of the component where the error originated.message
- The message explaining the error.cause
- The cause of the error.
-
-
Method Details
-
addToCallstack
This method may be used to add a container name to the stack of containers that included the failed element.- Parameters:
name
- The name of the container that should be added.
-
getMessage
- Overrides:
getMessage
in classThrowable
-