public class ValidationError
extends java.lang.Object
Constructor and Description |
---|
ValidationError(int id,
java.lang.String message)
Create a new ValidationError object.
|
Modifier and Type | Method and Description |
---|---|
int |
getId()
Get the id of the object this error refers to.
|
java.lang.String |
getMessage()
Get the error message of this ValidationError.
|
java.lang.String |
toString() |
public ValidationError(int id, java.lang.String message)
id
- The id of the GMLObject containing the error.message
- The error message.public int getId()
public java.lang.String getMessage()
public java.lang.String toString()
toString
in class java.lang.Object