|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
com.ibm.websphere.wsrf.BaseFault
public class BaseFault
This class represents the XML complexType "wsrf-bf:BaseFault"
<xsd:complexType name="BaseFaultType"> <xsd:sequence> <xsd:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> <xsd:element name="Timestamp" type="xsd:dateTime" minOccurs="1" maxOccurs="1"/> <xsd:element name="Originator" type="wsa:EndpointReferenceType" minOccurs="0" maxOccurs="1"/> <xsd:element name="ErrorCode" minOccurs="0" maxOccurs="1"> <xsd:complexType> <xsd:complexContent mixed="true"> <xsd:extension base="xsd:anyType"> <xsd:attribute name="dialect" type="xsd:anyURI" use="required"/> </xsd:extension> </xsd:complexContent> </xsd:complexType> </xsd:element> <xsd:element name="Description" minOccurs="0" maxOccurs="unbounded"> <xsd:complexType> <xsd:simpleContent> <xsd:extension base="xsd:string"> <xsd:attribute ref="xml:lang" use="optional"/> </xsd:extension> </xsd:simpleContent> </xsd:complexType> </xsd:element> <xsd:element name="FaultCause" minOccurs="0" maxOccurs="1"> <xsd:complexType> <xsd:sequence> <xsd:any namespace="##other" processContents="lax" minOccurs="1" maxOccurs="1"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:anyAttribute namespace="##other" processContents="lax"/> </xsd:complexType>
Constructor Summary | |
---|---|
BaseFault()
Default constructor. |
|
BaseFault(EndpointReference originator,
ErrorCode errorCode,
FaultDescription[] descriptions,
IOSerializableSOAPElement faultCause,
IOSerializableSOAPElement[] extensibilityElements,
Attribute[] attributes)
Constructor for a new BaseFault instance. |
Method Summary | |
---|---|
Attribute[] |
getAttributes()
Gets the attributes. |
FaultDescription[] |
getDescriptions()
Gets the set of descriptions. |
ErrorCode |
getErrorCode()
Gets the error code. |
IOSerializableSOAPElement[] |
getExtensibilityElements()
Gets the extensibility elements. |
IOSerializableSOAPElement |
getFaultCause()
Gets the fault case. |
EndpointReference |
getOriginator()
Gets the originator. |
java.util.Calendar |
getTimestamp()
Gets the timestamp. |
void |
setAttributes(Attribute[] attributes)
Sets the attributes. |
void |
setDescriptions(FaultDescription[] descriptions)
Sets the descriptions. |
void |
setErrorCode(ErrorCode errorCode)
Sets the error code. |
void |
setExtensibilityElements(IOSerializableSOAPElement[] extensibilityElements)
Sets the extensibility elements. |
void |
setFaultCause(IOSerializableSOAPElement faultCause)
Sets the fault cause. |
void |
setOriginator(EndpointReference originator)
Sets the originator. |
void |
setTimestamp(java.util.Calendar timestamp)
Sets the timestamp. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public BaseFault()
public BaseFault(EndpointReference originator, ErrorCode errorCode, FaultDescription[] descriptions, IOSerializableSOAPElement faultCause, IOSerializableSOAPElement[] extensibilityElements, Attribute[] attributes)
originator
- The WS-Addressing EndpointReference of the Web Service that
generated the fault.errorCode
- The error code.descriptions
- The set of descriptions.faultCause
- The fault cause.extensibilityElements
- The set of extensibility elements.attributes
- The set of attributesMethod Detail |
---|
public java.util.Calendar getTimestamp()
public void setTimestamp(java.util.Calendar timestamp)
timestamp
- The new timetamp.public EndpointReference getOriginator()
public void setOriginator(EndpointReference originator)
originator
- The new originator.public ErrorCode getErrorCode()
public void setErrorCode(ErrorCode errorCode)
errorCode
- The new error code.public FaultDescription[] getDescriptions()
public void setDescriptions(FaultDescription[] descriptions)
descriptions
- The new descriptions array.public IOSerializableSOAPElement getFaultCause()
public void setFaultCause(IOSerializableSOAPElement faultCause)
faultCause
- The new fault cause.public IOSerializableSOAPElement[] getExtensibilityElements()
public void setExtensibilityElements(IOSerializableSOAPElement[] extensibilityElements)
extensibilityElements
- The new set of extensibility elements value.public Attribute[] getAttributes()
public void setAttributes(Attribute[] attributes)
attributes
- The array of Attributes.
|
IBM WebSphere Application ServerTM Release 7 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |