com.ibm.websphere.wsrf
Class ResourceUnavailableFault
- java.lang.Object
java.lang.Throwable
java.lang.Exception
com.ibm.websphere.wsrf.BaseFault
com.ibm.websphere.wsrf.ResourceUnavailableFault
All implemented interfaces:
java.io.Serializable
- public class ResourceUnavailableFault
- extends BaseFault
This class represents the XML complexType "wsrf-r:ResourceUnavailableFaultType"
<xsd:complexType name="ResourceUnavailableFaultType"> <xsd:complexContent> <xsd:extension base="wsrf-bf:BaseFaultType"/> </xsd:complexContent> </xsd:complexType>
See Also:
Constructor Summary
Constructor and Description |
---|
ResourceUnavailableFault()
Default constructor.
|
ResourceUnavailableFault(EndpointReference originator,ErrorCode errorCode,FaultDescription[] descriptions,IOSerializableSOAPElement faultCause,IOSerializableSOAPElement[] extensibilityElements,Attribute[] attributes)
Constructor for a new ResourceUnavailableFault instance.
|
Method Summary
Modifier and Type | Method and Description |
---|---|
|
getMessage()
Get the message for this fault.
|
Methods inherited from class com.ibm.websphere.wsrf.BaseFault |
---|
getAttributes, getDescriptions, getErrorCode, getExtensibilityElements, getFaultCause, getOriginator, getTimestamp, setAttributes, setDescriptions, setErrorCode, setExtensibilityElements, setFaultCause, setOriginator, setTimestamp |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, 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
ResourceUnavailableFault
- public ResourceUnavailableFault( )
Default constructor. Constructs a ResourceUnavailableFault with the inherited and mandatory
timestamp field set. Other fields may be modified using the 'set' methods.
ResourceUnavailableFault
- public ResourceUnavailableFault( EndpointReference originator,
- ErrorCode errorCode,
- FaultDescription[] descriptions,
- IOSerializableSOAPElement faultCause,
- IOSerializableSOAPElement[] extensibilityElements,
- Attribute[] attributes)
Constructor for a new ResourceUnavailableFault instance. Since all fields are
optional, null may be passed for any value to omit a field.
Parameters:
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 attributes Method Detail
getMessage
- public java.lang.String getMessage( )
Get the message for this fault. This method overrides the implementation
in
java.lang.Throwable
to return the text of the first description
in the sequence of descriptions belonging to the fault.
Overrides:
getMessage
in class java.lang.Throwable
See Also:
Throwable.getMessage()