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