public class ASTValidationException extends OpenValidationException
| Constructor and Description |
|---|
ASTValidationException(String message) |
ASTValidationException(String message,
ASTItem item) |
ASTValidationException(String message,
ASTItem item,
int position) |
ASTValidationException(String message,
ASTItem item,
int startError,
int lengthError) |
| Modifier and Type | Method and Description |
|---|---|
int |
getErrorLength() |
String |
getErrorSource() |
int |
getErrorStart() |
int |
getGlobalElementPosition() |
ASTItem |
getItem() |
String |
getOriginalSource() |
String |
getSource() |
String |
getUnderlinedErrorSource() |
void |
setErrorLength(int length) |
void |
setErrorStart(int start) |
void |
setGlobalElementPosition(int position) |
String |
toString(boolean verbose) |
String |
underlineError(String error) |
getLocalizedMessage, getMessage, getStackTrace, getUserMessage, setUserMessage, toStringaddSuppressed, fillInStackTrace, getCause, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTracepublic ASTValidationException(String message)
public int getErrorStart()
public void setErrorStart(int start)
public int getErrorLength()
public void setErrorLength(int length)
public String getSource()
public String getOriginalSource()
public int getGlobalElementPosition()
public ASTItem getItem()
public void setGlobalElementPosition(int position)
public String getErrorSource()
public String getUnderlinedErrorSource()
public String toString(boolean verbose)
toString in class OpenValidationExceptionCopyright © 2020. All rights reserved.