org.apache.ws.jaxme.impl
Class ValidationEventImpl
java.lang.Object
javax.xml.bind.helpers.ValidationEventImpl
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()
.
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 java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
setErrorCode
public void setErrorCode(java.lang.String pErrorCode)
- Sets the error code.
getErrorCode
public java.lang.String getErrorCode()
- Returns the error code.