org.apache.ws.jaxme.impl

Class ValidationEventImpl

Implemented Interfaces:
ValidationEvent

public class ValidationEventImpl
extends ValidationEventImpl

JaxMe's extension of the ValidationEventImpl class, adding the getErrorCode().

Fields inherited from interface javax.xml.bind.ValidationEvent

ERROR, FATAL_ERROR, WARNING

Constructor Summary

ValidationEventImpl(int pSeverity, String pMessage, ValidationEventLocator pLocator)
Creates a new instance with the given severity, message, and locator.
ValidationEventImpl(int pSeverity, String pMessage, ValidationEventLocator pLocator, Throwable pLinkedException)
Creates a new instance with the given severity, message, locator, and throwable.

Method Summary

String
getErrorCode()
Returns the error code.
void
setErrorCode(String pErrorCode)
Sets the error code.

Methods inherited from class javax.xml.bind.helpers.ValidationEventImpl

getLinkedException, getLocator, getMessage, getSeverity, setLinkedException, setLocator, setMessage, setSeverity

Constructor Details

ValidationEventImpl

public ValidationEventImpl(int pSeverity,
                           String pMessage,
                           ValidationEventLocator pLocator)
Creates a new instance with the given severity, message, and locator.

ValidationEventImpl

public ValidationEventImpl(int pSeverity,
                           String pMessage,
                           ValidationEventLocator pLocator,
                           Throwable pLinkedException)
Creates a new instance with the given severity, message, locator, and throwable.

Method Details

getErrorCode

public String getErrorCode()
Returns the error code.

setErrorCode

public void setErrorCode(String pErrorCode)
Sets the error code.