|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.apache.xindice.core.FaultCodes
FaultCodes defines the Xindice specific fault codes and associated error messages.
Method Summary | |
static APIException |
createAPIException(java.lang.Exception e)
createAPIException creates an APIException instance based on the specified Exception. |
static APIException |
createAPIException(int code)
createAPIException creates an APIException instance based on the specified parameters. |
static APIException |
createAPIException(int code,
java.lang.String message)
createAPIException creates an APIException instance based on the specified parameters. |
static XMLDBException |
createXMLDBException(java.lang.Exception e)
createXMLDBException creates an XMLDBException instance based on the specified Exception. |
static int |
getFaultCode(java.lang.Exception e)
getFaultCode examines the provided exception to determine the fault code that is associated with it. |
static int |
getFaultCodeSeries(java.lang.Exception e)
getFaultCodeSeries examines the provided exception to determine the fault code series that is associated with it. |
static int |
getFaultCodeType(java.lang.Exception e)
getFaultCodeType examines the provided exception to determine the general fault code that is associated with it. |
static java.lang.String |
getFaultMessage(java.lang.Exception e)
getFaultMessage examines the provided exception to determine the fault message that is associated with it. |
static java.lang.String |
getMessage(int code)
getMessage returns a textual form for the specified fault code. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.omg.CORBA.Object |
_create_request, _create_request, _duplicate, _get_domain_managers, _get_interface_def, _get_policy, _hash, _is_a, _is_equivalent, _non_existent, _release, _request, _set_policy_override |
Method Detail |
public static java.lang.String getMessage(int code)
code
- The Fault Codepublic static APIException createAPIException(int code)
code
- The Fault Codepublic static APIException createAPIException(int code, java.lang.String message)
code
- The Fault Codemessage
- A specific message to associatepublic static APIException createAPIException(java.lang.Exception e)
e
- The Exception to usepublic static XMLDBException createXMLDBException(java.lang.Exception e)
e
- The Exception to usepublic static int getFaultCodeType(java.lang.Exception e)
e
- The Exception to examinepublic static int getFaultCodeSeries(java.lang.Exception e)
e
- The Exception to examinepublic static int getFaultCode(java.lang.Exception e)
e
- The Exception to examinepublic static java.lang.String getFaultMessage(java.lang.Exception e)
e
- The Exception to examine
|
Xindice API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |