createXMLDBException

createXMLDBException creates an XMLDBException instance based
on the specified Exception. If the Exception is a DBException,
it will extract any important information from it (like fault
codes and messages)

Parameters:

e - The Exception to use

Returns:

An XMLDBException instance

createXMLDBException

createXMLDBException creates an XMLDBException instance based
on the specified Exception. If the Exception is a DBException,
it will extract any important information from it (like fault
codes and messages)

createXMLDBException

Creates an XMLDBException instance based
on the specified fault code, message, and Exception. If the Exception is a DBException,
it will extract any important information from it (like fault
codes and messages). If the exception is an instance of XindiceException,
the exception class name and message of any Throwable(s) available
via XindiceException.getCause will also be incorporated
into the message. If a chain of wrapped XindiceExceptions is available,
the chain will be followed incorporating the class name and message
at each level.

Parameters:

faultCode - the fault code for the created exception

e - The Exception to use

Returns:

An XMLDBException instance

getFaultCodeType

getFaultCodeType examines the provided exception to determine
the general fault code that is associated with it. General
fault codes are reduced from actual fault codes to be one of
the GEN_ prefixed fault code values.

Parameters:

e - The Exception to examine

Returns:

The General Fault Code

getFaultCodeSeries

getFaultCodeSeries examines the provided exception to
determine the fault code series that is associated with it.
Series are reduced from actual fault codes to be one of
the fault code prefixes (ex: COL, DB, SEC).