Class InvalidMutatorException
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.InvalidMutatorException
- All Implemented Interfaces:
Serializable
This exception is used when a dynamic container fails due to an exception.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionInvalidMutatorException
(String mutatorName, String message) Constructs the exception with the name of the container and the error message.InvalidMutatorException
(String mutatorName, Throwable cause) Constructs the exception with the name of the container and the error cause. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the name of the dynamic container that failed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InvalidMutatorException
Constructs the exception with the name of the container and the error message.- Parameters:
mutatorName
- The name of the dynamic container.message
- The message of the error.
-
InvalidMutatorException
Constructs the exception with the name of the container and the error cause.- Parameters:
mutatorName
- The name of the dynamic container.cause
- The cause of the error.
-
-
Method Details
-
getMutatorName
This method returns the name of the dynamic container that failed.- Returns:
- the name of the dynamic container that failed.
-