Class ParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.aquima.interactions.foundation.exception.AppException
com.aquima.interactions.expressions.ParseException
- All Implemented Interfaces:
Serializable
- Direct Known Subclasses:
ParseFailureException
Runtime exception used to indicate a failure during the parsing of an expression.
- Since:
- 5.0
- Author:
- O. Kerpershoek, F. van der Meer
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionParseException
(String message) Constructs a parse exception with a single message indicating the cause of the parse error.ParseException
(String message, Throwable cause) Constructs a parse exception with an object containing the failures and the root cause of the error. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ParseException
Constructs a parse exception with an object containing the failures and the root cause of the error.- Parameters:
message
- a descriptive error messages.cause
- The root cause of the parse error.
-
ParseException
Constructs a parse exception with a single message indicating the cause of the parse error.- Parameters:
message
- The message describing the nature of the parse error.
-