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:org.xmldb.api.base.ErrorCodes