|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.xmldb.api.base.XMLDBException
public final class XMLDBException
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.
ErrorCodes
,
Serialized FormField Summary | |
---|---|
int |
errorCode
errorCode |
int |
vendorErrorCode
vendorErrorCode |
Constructor Summary | |
---|---|
XMLDBException()
XMLDBException |
|
XMLDBException(int errorCode)
XMLDBException |
|
XMLDBException(int errorCode,
int vendorErrorCode)
XMLDBException |
|
XMLDBException(int errorCode,
int vendorErrorCode,
java.lang.String message)
XMLDBException |
|
XMLDBException(int errorCode,
java.lang.String message)
XMLDBException |
Method Summary |
---|
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public int errorCode
public int vendorErrorCode
Constructor Detail |
---|
public XMLDBException()
public XMLDBException(int errorCode)
errorCode
- public XMLDBException(int errorCode, java.lang.String message)
errorCode
- message
- public XMLDBException(int errorCode, int vendorErrorCode)
errorCode
- vendorErrorCode
- public XMLDBException(int errorCode, int vendorErrorCode, java.lang.String message)
errorCode
- vendorErrorCode
- message
-
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |