|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception org.xml.sax.SAXException de.ispsoft.jaxme.ValidationException
This exception is thrown to indicate invalid XML data.
Constructor Summary | |
ValidationException(java.lang.String msg)
Creates a new instance of ValidationException |
|
ValidationException(java.lang.String pMsg,
java.lang.Exception e)
Creates a new instance of ValidationException wrapping some other Exception. |
|
ValidationException(java.lang.String msg,
java.lang.Exception e,
org.xml.sax.Locator locator)
Creates a new instance of ValidationException wrapping some other Exception. |
|
ValidationException(java.lang.String pMsg,
org.xml.sax.Locator locator)
Creates a new instance of ValidationException |
Method Summary | |
int |
getErrorCode()
Returns the application specific error code. |
org.xml.sax.Locator |
getLocator()
Returns the locator that was used to construct the Exception or null. |
void |
setErrorCode(int pErrorCode)
Sets the application specific error code. |
Methods inherited from class org.xml.sax.SAXException |
getException, getMessage, toString |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public ValidationException(java.lang.String msg)
public ValidationException(java.lang.String pMsg, java.lang.Exception e)
public ValidationException(java.lang.String pMsg, org.xml.sax.Locator locator)
public ValidationException(java.lang.String msg, java.lang.Exception e, org.xml.sax.Locator locator)
Method Detail |
public org.xml.sax.Locator getLocator()
Returns the locator that was used to construct the Exception or null.
public int getErrorCode()
Returns the application specific error code. The value 0 is reserved to indicate the absence of an application specific error code.
public void setErrorCode(int pErrorCode)
Sets the application specific error code. The value 0 is reserved to indicate the absence of an application specific error code.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |