javax.xml.bind.helpers
Class ValidationEventImpl
java.lang.Object
javax.xml.bind.helpers.ValidationEventImpl
- ValidationEvent
public class ValidationEventImpl
extends java.lang.Object
ValidationEventImpl
public ValidationEventImpl(int pSeverity,
String pMessage,
ValidationEventLocator pLocator)
Creates a new instance of ValidationEventImpl
.
ValidationEventImpl
public ValidationEventImpl(int pSeverity,
String pMessage,
ValidationEventLocator pLocator,
Throwable pLinkedException)
Creates a new instance of ValidationEventImpl
.
getLinkedException
public Throwable getLinkedException()
Returns a Throwable
related to the event. In most cases
an exception causing the event.
- getLinkedException in interface ValidationEvent
setLinkedException
public void setLinkedException(Throwable pLinkedException)
Sets the exception, which is linked to the event.
setMessage
public void setMessage(String pMessage)
Sets the events message.
setSeverity
public void setSeverity(int pSeverity)
Sets the events severity.