Class TslExpandException

All Implemented Interfaces:
Serializable

public class TslExpandException extends RuleEngineException
This exception is used when the expand of a TSL text (dynamic text) fails.
Since:
5.0
Author:
O. Kerpershoek
See Also:
  • Constructor Details

    • TslExpandException

      public TslExpandException(ILanguage language, TslText text, Throwable cause)
      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

      public ILanguage getLanguage()
      This method returns the language for which the expand action failed.
      Returns:
      the language for which the expand action failed.
    • getText

      public TslText getText()
      This method returns the TSL text for which the expand action failed.
      Returns:
      the TSL text for which the expand action failed.