Package org.xmldb.api.base
Class XMLDBException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.xmldb.api.base.XMLDBException
- All Implemented Interfaces:
Serializable
XMLDBException is thrown for all errors in the XML:DB API. It contains two
error codes one an XML:DB error code as defined in ErrorCodes and one vendor
specific. If the error being thrown is only vendor specific then errorCode
MUST be set to ErrorCodes.VENDOR_ERROR.
- See Also:
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionXMLDBException
(int errorCode) XMLDBException
(int errorCode, int vendorErrorCode) XMLDBException
(int errorCode, int vendorErrorCode, String message) XMLDBException
(int errorCode, int vendorErrorCode, String message, Throwable cause) XMLDBException
(int errorCode, int vendorErrorCode, Throwable cause) XMLDBException
(int errorCode, String message) XMLDBException
(int errorCode, String message, Throwable cause) XMLDBException
(int errorCode, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, setStackTrace, toString
-
Field Details
-
errorCode
public int errorCode -
vendorErrorCode
public int vendorErrorCode
-
-
Constructor Details
-
XMLDBException
public XMLDBException() -
XMLDBException
public XMLDBException(int errorCode) -
XMLDBException
-
XMLDBException
public XMLDBException(int errorCode, int vendorErrorCode) -
XMLDBException
-
XMLDBException
-
XMLDBException
-
XMLDBException
-
XMLDBException
-
-
Method Details
-
getCause
-
printStackTrace
public void printStackTrace()- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-
printStackTrace
- Overrides:
printStackTrace
in classThrowable
-