public class ValidationException extends LanguageException
| Constructor and Description |
|---|
ValidationException(String message)
Creates new instance.
|
ValidationException(String message,
ASTNode ast)
Creates new instance.
|
ValidationException(String message,
Integer offset,
Integer length,
Integer line)
Creates new instance.
|
ValidationException(String message,
Throwable cause)
Creates new instance.
|
ValidationException(String message,
Throwable cause,
Integer offset,
Integer length,
Integer line)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getLength()
Returns the length of the expression substring where a validation error is detected.
|
Integer |
getLine()
Returns the line of the expression substring where a validation error has been detected.
|
Integer |
getOffset()
Returns the offset in the expression text where a validation error is detected.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic ValidationException(String message)
message - public ValidationException(String message, Throwable cause)
message - cause - public ValidationException(String message, Integer offset, Integer length, Integer line)
message - offset - length - line - public ValidationException(String message, ASTNode ast)
message - ast - public Integer getOffset()
public Integer getLength()
public Integer getLine()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.