Class JavaExpressionParseUtil.JavaExpressionParseException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.checkerframework.framework.util.JavaExpressionParseUtil.JavaExpressionParseException
- All Implemented Interfaces:
- Serializable
- Enclosing class:
- JavaExpressionParseUtil
An exception that indicates a parse error. Call 
getDiagMessage() to obtain a DiagMessage that can be used for error reporting.- See Also:
- 
Field SummaryFields
- 
Constructor SummaryConstructorsConstructorDescriptionJavaExpressionParseException(@CompilerMessageKey String errorKey, Object... args) Create a new JavaExpressionParseException.JavaExpressionParseException(@Nullable Throwable cause, @CompilerMessageKey String errorKey, Object... args) Create a new JavaExpressionParseException.
- 
Method SummaryModifier and TypeMethodDescriptionReturn a DiagMessage that can be used for error reporting.booleanMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Field Details- 
argsThe arguments to the error message key.
 
- 
- 
Constructor Details- 
JavaExpressionParseExceptionCreate a new JavaExpressionParseException.- Parameters:
- errorKey- the error message key
- args- the arguments to the error message key
 
- 
JavaExpressionParseExceptionpublic JavaExpressionParseException(@Nullable Throwable cause, @CompilerMessageKey String errorKey, Object... args) Create a new JavaExpressionParseException.- Parameters:
- cause- cause
- errorKey- the error message key
- args- the arguments to the error message key
 
 
- 
- 
Method Details- 
getMessage- Overrides:
- getMessagein class- Throwable
 
- 
getDiagMessageReturn a DiagMessage that can be used for error reporting.- Returns:
- a DiagMessage that can be used for error reporting
 
- 
isFlowParseErrorpublic boolean isFlowParseError()
 
-