Package org.apache.juneau.commons.svl
Class ExprException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.apache.juneau.commons.BasicRuntimeException
org.apache.juneau.commons.svl.VarResolverException
org.apache.juneau.commons.svl.ExprException
- All Implemented Interfaces:
Serializable
Thrown when an SVL #{...} expression cannot be lexed or parsed.
The message reads
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionExprException(String message, String source, int pos) Constructor.ExprException(String message, String source, int pos, Throwable cause) Constructor. -
Method Summary
Methods inherited from class org.apache.juneau.commons.svl.VarResolverException
setMessageMethods inherited from class org.apache.juneau.commons.BasicRuntimeException
getMessageMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ExprException
Constructor.- Parameters:
message- The plain (not printf-style) description.source- The expression source text.pos- The zero-based character offset of the problem.
-
ExprException
Constructor.- Parameters:
message- The plain (not printf-style) description.source- The expression source text.pos- The zero-based character offset of the problem.cause- The underlying failure. Can benull .
-
-
Method Details
-
getBaseMessage
- Returns:
- The description without position or source.
-
getSource
- Returns:
- The expression source text.
-
getPos
- Returns:
- The zero-based character offset of the problem.
-