org.xmldb.api.base

Class XMLDBException

public final class XMLDBException extends Exception

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: ErrorCodes

Field Summary
interrorCode
intvendorErrorCode
Constructor Summary
XMLDBException()
XMLDBException(int errorCode)
XMLDBException(int errorCode, String message)
XMLDBException(int errorCode, int vendorErrorCode)
XMLDBException(int errorCode, int vendorErrorCode, String message)

Field Detail

errorCode

public int errorCode

vendorErrorCode

public int vendorErrorCode

Constructor Detail

XMLDBException

public XMLDBException()

XMLDBException

public XMLDBException(int errorCode)

XMLDBException

public XMLDBException(int errorCode, String message)

XMLDBException

public XMLDBException(int errorCode, int vendorErrorCode)

XMLDBException

public XMLDBException(int errorCode, int vendorErrorCode, String message)