public class InvalidExpressionException extends Exception
Constructor and Description |
---|
InvalidExpressionException(String message)
Constructs a InvalidExpressionException with given message.
|
InvalidExpressionException(String message,
Throwable t)
Constructs a InvalidExpressionException with given message and target exception.
|
InvalidExpressionException(String message,
Throwable t,
boolean isFromApp)
Constructs a InvalidExpressionException with given message and target exception.
|
InvalidExpressionException(Throwable t)
Constructs a InvalidExpressionException for a given target exception.
|
InvalidExpressionException(Throwable t,
boolean isFromApp)
Constructs a InvalidExpressionException for a given target exception.
|
Modifier and Type | Method and Description |
---|---|
String |
getMessage() |
Throwable |
getTargetException()
Get the thrown target exception.
|
boolean |
hasApplicationTarget()
Test whether the target exception is a mirror of an application-level
exception.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InvalidExpressionException(String message)
message
- a exception messagepublic InvalidExpressionException(Throwable t)
t
- a target exceptionpublic InvalidExpressionException(Throwable t, boolean isFromApp)
t
- a target exceptionisFromApp
- true
when the target exception is a mirror
of an application-level exception, false
otherwise.public InvalidExpressionException(String message, Throwable t)
message
- a exception messaget
- a target exceptionpublic InvalidExpressionException(String message, Throwable t, boolean isFromApp)
message
- a exception messaget
- a target exceptionisFromApp
- true
when the target exception is a mirror
of an application-level exception, false
otherwise.public String getMessage()
getMessage
in class Throwable
public Throwable getTargetException()
public final boolean hasApplicationTarget()
true
when the target exception represents an
exception in the application code, false
otherwise.