Class RuleEngineParseException
- 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.RuleEngineParseException
-
- All Implemented Interfaces:
Serializable
public class RuleEngineParseException extends RuleEngineException
Exception used to indicate an error during the parse of an expression.- Since:
- 5.0
- Author:
- O. Kerpershoek
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description RuleEngineParseException​(String expression, ParseException error)
Constructs the exception with the expression that caused the error.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getExpression()
This method returns the expression for which the parsing failed.-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
RuleEngineParseException
public RuleEngineParseException​(String expression, ParseException error)
Constructs the exception with the expression that caused the error.- Parameters:
expression
- The expression that caused a parse exceptionerror
- The parse exception.
-
-
Method Detail
-
getExpression
public String getExpression()
This method returns the expression for which the parsing failed.- Returns:
- the expression for which the parsing failed.
-
-