public class ValidationException
extends JAXRException
Constructor and Description |
---|
ValidationException(java.lang.String msg)
Constructs new
ValidationException object. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getLocalizedMessage() |
java.lang.String |
getMessage() |
void |
setContext(java.lang.String context)
Sets context information describing the semantics of the value being checked.
|
public ValidationException(java.lang.String msg)
ValidationException
object.msg
- the error message as string.public void setContext(java.lang.String context)
context
- the semantics of the value being.public java.lang.String getMessage()
public java.lang.String getLocalizedMessage()