org.apache.ws.jaxme.impl
Class ValidationEventImpl

java.lang.Object
  extended by javax.xml.bind.helpers.ValidationEventImpl
      extended by org.apache.ws.jaxme.impl.ValidationEventImpl
All Implemented Interfaces:
ValidationEvent

public class ValidationEventImpl
extends ValidationEventImpl

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


Field Summary
 
Fields inherited from interface javax.xml.bind.ValidationEvent
ERROR, FATAL_ERROR, WARNING
 
Constructor Summary
ValidationEventImpl(int pSeverity, java.lang.String pMessage, ValidationEventLocator pLocator)
          Creates a new instance with the given severity, message, and locator.
ValidationEventImpl(int pSeverity, java.lang.String pMessage, ValidationEventLocator pLocator, java.lang.Throwable pLinkedException)
          Creates a new instance with the given severity, message, locator, and throwable.
 
Method Summary
 java.lang.String getErrorCode()
          Returns the error code.
 void setErrorCode(java.lang.String pErrorCode)
          Sets the error code.
 
Methods inherited from class javax.xml.bind.helpers.ValidationEventImpl
getLinkedException, getLocator, getMessage, getSeverity, setLinkedException, setLocator, setMessage, setSeverity
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationEventImpl

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


ValidationEventImpl

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

Method Detail

setErrorCode

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


getErrorCode

public java.lang.String getErrorCode()
Returns the error code.