Class TslExpandException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.rule.RuleEngineException
com.aquima.interactions.rule.exception.TslExpandException
- All Implemented Interfaces:
Serializable
This exception is used when the expand of a TSL text (dynamic text) fails.
- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTslExpandException
(ILanguage language, TslText text, Throwable cause) Constructs a TslExpandException object for a language and text with the cause of the failure. -
Method Summary
Modifier and TypeMethodDescriptionThis method returns the language for which the expand action failed.getText()
This method returns the TSL text for which the expand action failed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
TslExpandException
Constructs a TslExpandException object for a language and text with the cause of the failure.- Parameters:
language
- The language for which the expand action failed.text
- The TSL text for which the expand action failed.cause
- The cause of the failure.
-
-
Method Details
-
getLanguage
This method returns the language for which the expand action failed.- Returns:
- the language for which the expand action failed.
-
getText
This method returns the TSL text for which the expand action failed.- Returns:
- the TSL text for which the expand action failed.
-