|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.io.IOException
java.rmi.RemoteException
org.apache.axis.AxisFault
uk.org.ogsadai.client.toolkit.service.faults.DAIFaultType
uk.org.ogsadai.client.toolkit.service.faults.SimpleFaultType
uk.org.ogsadai.client.toolkit.service.faults.ComplexFaultType
uk.org.ogsadai.client.toolkit.service.faults.ChainedFaultType
Client-side representation of deserialized
ChainedFaultType
.
Field Summary | |
static java.lang.String |
CAUSE_LOCALNAME
reason local name |
private static java.lang.String |
COPYRIGHT_NOTICE
Copyright statement |
private ReasonFaultType[] |
mCauses
Causes of the fault |
Fields inherited from class uk.org.ogsadai.client.toolkit.service.faults.ComplexFaultType |
PARAMETER_LOCALNAME |
Fields inherited from class uk.org.ogsadai.client.toolkit.service.faults.SimpleFaultType |
ID_LOCALNAME, MSG_LOCALNAME |
Fields inherited from class org.apache.axis.AxisFault |
faultActor, faultCode, faultDetails, faultHeaders, faultNode, faultString, faultSubCode, log |
Fields inherited from class java.rmi.RemoteException |
detail |
Fields inherited from class java.lang.Throwable |
|
Constructor Summary | |
ChainedFaultType(org.w3c.dom.Element[] details)
Parses the detail element of a SOAP fault. |
|
ChainedFaultType(java.lang.String id,
java.lang.String msg)
Creates a new ChainedFaultType from an error ID and
a message. |
|
ChainedFaultType(java.lang.String id,
java.lang.String msg,
java.lang.String[] params)
Creates a new ChainedFaultType from an error ID,
a message and parameters. |
|
ChainedFaultType(java.lang.String id,
java.lang.String msg,
java.lang.String[] params,
ReasonFaultType[] causes)
Creates a new ChainedFaultType from an error ID,
a message and parameters and faults that caused this fault. |
Method Summary | |
ReasonFaultType |
getCause(int i)
Get the cause at index i |
ReasonFaultType[] |
getCauses()
Gets the causes. |
protected void |
parseFaultDetails(org.w3c.dom.Element element)
Parses the detail element of a SOAP fault element. |
void |
setCause(int i,
ReasonFaultType cause)
Set the cause at index i |
void |
setCauses(ReasonFaultType[] causes)
Sets the causes. |
Methods inherited from class uk.org.ogsadai.client.toolkit.service.faults.ComplexFaultType |
getParameter, getParameters, setParameter, setParameters |
Methods inherited from class uk.org.ogsadai.client.toolkit.service.faults.SimpleFaultType |
getID, getMsg, setID, setMsg |
Methods inherited from class uk.org.ogsadai.client.toolkit.service.faults.DAIFaultType |
getXMLName |
Methods inherited from class org.apache.axis.AxisFault |
addFaultDetail, addFaultDetail, addFaultDetailString, addFaultSubCode, addFaultSubCodeAsString, addHeader, addHostname, addHostnameIfNeeded, clearFaultDetails, clearFaultSubCodes, clearHeaders, dump, dumpToString, getFaultActor, getFaultCode, getFaultDetails, getFaultNode, getFaultReason, getFaultRole, getFaultString, getFaultSubCodes, getHeaders, initFaultSubCodes, lookupFaultDetail, makeFault, output, printStackTrace, printStackTrace, removeFaultDetail, removeHostname, setFaultActor, setFaultCode, setFaultCode, setFaultCodeAsString, setFaultDetail, setFaultDetailString, setFaultNode, setFaultReason, setFaultRole, setFaultString, toString, writeDetails |
Methods inherited from class java.rmi.RemoteException |
getCause, getMessage |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
private static final java.lang.String COPYRIGHT_NOTICE
private ReasonFaultType[] mCauses
public static java.lang.String CAUSE_LOCALNAME
Constructor Detail |
public ChainedFaultType(java.lang.String id, java.lang.String msg)
ChainedFaultType
from an error ID and
a message.
id
- Error ID.msg
- Error message.public ChainedFaultType(java.lang.String id, java.lang.String msg, java.lang.String[] params)
ChainedFaultType
from an error ID,
a message and parameters.
id
- Error ID.msg
- Error message.params
- Error parameters.public ChainedFaultType(java.lang.String id, java.lang.String msg, java.lang.String[] params, ReasonFaultType[] causes)
ChainedFaultType
from an error ID,
a message and parameters and faults that caused this fault.
id
- Error ID.msg
- Error message.params
- Error parameters.causes
- Faults that gave rise to this fault.public ChainedFaultType(org.w3c.dom.Element[] details)
details
- detail elementsMethod Detail |
protected void parseFaultDetails(org.w3c.dom.Element element)
SimpleFaultType
parseFaultDetails
in class ComplexFaultType
public ReasonFaultType[] getCauses()
public void setCauses(ReasonFaultType[] causes)
causes
- Causes of this fault.public ReasonFaultType getCause(int i)
i
- Index
public void setCause(int i, ReasonFaultType cause)
i
- Indexcause
- Cause
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |