public class ValidationError extends Object
Modifier and Type | Class and Description |
---|---|
static class |
ValidationError.Type
Error types.
|
Constructor and Description |
---|
ValidationError(ValidationError.Type type,
int line,
int column,
String message)
Constructor.
|
ValidationError(ValidationError.Type type,
SAXParseException e)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
int |
getColumn() |
int |
getLine() |
String |
getMessage() |
ValidationError.Type |
getType() |
String |
toString() |
public ValidationError(ValidationError.Type type, int line, int column, String message)
type
- error typeline
- line where the error occurredcolumn
- column where the error occurredmessage
- message of the errorpublic ValidationError(ValidationError.Type type, SAXParseException e)
type
- error typee
- source exceptionpublic ValidationError.Type getType()
public int getLine()
public int getColumn()
public String getMessage()
Copyright © 2004–2021 XWiki. All rights reserved.