|
|||||||||||
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.wsrp.BaseFaultType
Client-side representation of deserialized WSRF BaseFaultType
.
Field Summary | |
private static java.lang.String |
COPYRIGHT_NOTICE
|
private static javax.xml.namespace.QName |
DESCRIPTION_QNAME
|
private static javax.xml.namespace.QName |
ERROR_CODE_QNAME
|
private static javax.xml.namespace.QName |
FAULT_CAUSE_QNAME
|
private java.lang.String[] |
mDescription
|
private BaseFaultTypeErrorCode |
mErrorCode
|
private BaseFaultType[] |
mFaultCause
|
private java.util.Calendar |
mTimestamp
|
private javax.xml.namespace.QName |
mXMLName
|
private static javax.xml.namespace.QName |
TIMESTAMP_QNAME
|
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 | |
BaseFaultType()
Create fault. |
|
BaseFaultType(java.util.Calendar timestamp,
BaseFaultTypeErrorCode errorCode,
java.lang.String[] description,
BaseFaultType[] faultCause)
Create fault. |
|
BaseFaultType(org.w3c.dom.Element element)
Create a fault from the given XML description. |
|
BaseFaultType(org.w3c.dom.Element[] details)
Create fault. |
Method Summary | |
java.lang.String[] |
getDescription()
Gets the description value for this BaseFaultType. |
java.lang.String |
getDescription(int i)
Gets the ith description value for this BaseFaultType. |
BaseFaultTypeErrorCode |
getErrorCode()
Gets the errorCode value for this BaseFaultType. |
BaseFaultType[] |
getFaultCause()
Gets the faultCause value for this BaseFaultType. |
BaseFaultType |
getFaultCause(int i)
Gets the ith faultCause value for this BaseFaultType. |
java.util.Calendar |
getTimestamp()
Gets the timestamp value for this BaseFaultType. |
javax.xml.namespace.QName |
getXMLName()
Gets the XML name of the serialized fault. |
void |
setDescription(int i,
java.lang.String value)
Sets the ith description value for this BaseFaultType. |
void |
setDescription(java.lang.String[] description)
Sets the description value for this BaseFaultType. |
void |
setErrorCode(BaseFaultTypeErrorCode errorCode)
Sets the errorCode value for this BaseFaultType. |
void |
setFaultCause(BaseFaultType[] faultCause)
Sets the faultCause value for this BaseFaultType. |
void |
setFaultCause(int i,
BaseFaultType value)
Sets the ith faultCause value for this BaseFaultType. |
void |
setTimestamp(java.util.Calendar timestamp)
Sets the timestamp value for this BaseFaultType. |
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 static final javax.xml.namespace.QName TIMESTAMP_QNAME
private static final javax.xml.namespace.QName ERROR_CODE_QNAME
private static final javax.xml.namespace.QName DESCRIPTION_QNAME
private static final javax.xml.namespace.QName FAULT_CAUSE_QNAME
private java.util.Calendar mTimestamp
private BaseFaultTypeErrorCode mErrorCode
private java.lang.String[] mDescription
private BaseFaultType[] mFaultCause
private javax.xml.namespace.QName mXMLName
Constructor Detail |
public BaseFaultType()
public BaseFaultType(java.util.Calendar timestamp, BaseFaultTypeErrorCode errorCode, java.lang.String[] description, BaseFaultType[] faultCause)
timestamp
- fault timestamp from server.errorCode
- fault error codedescription
- description of faultfaultCause
- faults causing this fault.public BaseFaultType(org.w3c.dom.Element[] details)
details
- elements containing timestamp, errorCode, description and
faultCause.public BaseFaultType(org.w3c.dom.Element element)
element
- fault descriptionMethod Detail |
public java.util.Calendar getTimestamp()
public void setTimestamp(java.util.Calendar timestamp)
timestamp
- public BaseFaultTypeErrorCode getErrorCode()
public void setErrorCode(BaseFaultTypeErrorCode errorCode)
errorCode
- public java.lang.String[] getDescription()
public void setDescription(java.lang.String[] description)
description
- public java.lang.String getDescription(int i)
i
-
public void setDescription(int i, java.lang.String value)
i
- value
- descriptionpublic BaseFaultType[] getFaultCause()
public void setFaultCause(BaseFaultType[] faultCause)
faultCause
- public BaseFaultType getFaultCause(int i)
i
-
public void setFaultCause(int i, BaseFaultType value)
i
- value
- fault causepublic javax.xml.namespace.QName getXMLName()
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |