javax.xml.bind.helpers
public class ValidationEventImpl extends Object implements ValidationEvent
Default implementation of a ValidationEvent.
Since: JAXB1.0
| Constructor Summary | |
|---|---|
| ValidationEventImpl(int pSeverity, String pMessage, ValidationEventLocator pLocator) Creates a new instance of | |
| ValidationEventImpl(int pSeverity, String pMessage, ValidationEventLocator pLocator, Throwable pLinkedException) Creates a new instance of | |
| Method Summary | |
|---|---|
| Throwable | getLinkedException() |
| ValidationEventLocator | getLocator() |
| String | getMessage() |
| int | getSeverity() |
| void | setLinkedException(Throwable pLinkedException) Sets the exception, which is linked to the event. |
| void | setLocator(ValidationEventLocator pLocator) Sets the events locator. |
| void | setMessage(String pMessage) Sets the events message. |
| void | setSeverity(int pSeverity) Sets the events severity. |
Creates a new instance of ValidationEventImpl.
Creates a new instance of ValidationEventImpl.
Sets the exception, which is linked to the event.
Sets the events locator.
Sets the events message.
Sets the events severity.
Parameters: pSeverity The events severity, either of WARNING, ERROR, or FATAL_ERROR.