Class XMLDBException

  • All Implemented Interfaces:
    java.io.Serializable

    public final class XMLDBException
    extends java.lang.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, Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      XMLDBException()  
      XMLDBException​(int errorCode)  
      XMLDBException​(int errorCode, int vendorErrorCode)  
      XMLDBException​(int errorCode, int vendorErrorCode, java.lang.String message)  
      XMLDBException​(int errorCode, int vendorErrorCode, java.lang.String message, java.lang.Throwable cause)  
      XMLDBException​(int errorCode, int vendorErrorCode, java.lang.Throwable cause)  
      XMLDBException​(int errorCode, java.lang.String message)  
      XMLDBException​(int errorCode, java.lang.String message, java.lang.Throwable cause)  
      XMLDBException​(int errorCode, java.lang.Throwable cause)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • errorCode

        public final int errorCode
      • vendorErrorCode

        public final int vendorErrorCode
    • Constructor Detail

      • XMLDBException

        public XMLDBException()
      • XMLDBException

        public XMLDBException​(int errorCode)
      • XMLDBException

        public XMLDBException​(int errorCode,
                              java.lang.String message)
      • XMLDBException

        public XMLDBException​(int errorCode,
                              int vendorErrorCode)
      • XMLDBException

        public XMLDBException​(int errorCode,
                              int vendorErrorCode,
                              java.lang.String message)
      • XMLDBException

        public XMLDBException​(int errorCode,
                              java.lang.Throwable cause)
      • XMLDBException

        public XMLDBException​(int errorCode,
                              java.lang.String message,
                              java.lang.Throwable cause)
      • XMLDBException

        public XMLDBException​(int errorCode,
                              int vendorErrorCode,
                              java.lang.Throwable cause)
      • XMLDBException

        public XMLDBException​(int errorCode,
                              int vendorErrorCode,
                              java.lang.String message,
                              java.lang.Throwable cause)