public static class JavaExpressionParseUtil.JavaExpressionParseException extends Exception
getDiagMessage()
to obtain a DiagMessage
that can be used for error reporting.Modifier and Type | Field and Description |
---|---|
Object[] |
args
The arguments to the error message key.
|
Constructor and Description |
---|
JavaExpressionParseException(@CompilerMessageKey String errorKey,
Object... args)
Create a new JavaExpressionParseException.
|
JavaExpressionParseException(@Nullable Throwable cause,
@CompilerMessageKey String errorKey,
Object... args)
Create a new JavaExpressionParseException.
|
Modifier and Type | Method and Description |
---|---|
DiagMessage |
getDiagMessage()
Return a DiagMessage that can be used for error reporting.
|
String |
getMessage() |
boolean |
isFlowParseError() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public final Object[] args
public JavaExpressionParseException(@CompilerMessageKey String errorKey, Object... args)
errorKey
- the error message keyargs
- the arguments to the error message keypublic JavaExpressionParseException(@Nullable Throwable cause, @CompilerMessageKey String errorKey, Object... args)
cause
- causeerrorKey
- the error message keyargs
- the arguments to the error message keypublic String getMessage()
getMessage
in class Throwable
public DiagMessage getDiagMessage()
public boolean isFlowParseError()