com.ibm.websphere.wsrf
Class InsertResourcePropertiesRequestFailedFault
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- com.ibm.websphere.wsrf.BaseFault
-
- com.ibm.websphere.wsrf.InsertResourcePropertiesRequestFailedFault
-
- All Implemented Interfaces:
- java.io.Serializable
public class InsertResourcePropertiesRequestFailedFault extends BaseFault
This class represents the XML complexType "wsrf-rp:InsertResourcePropertiesRequestFailedFaultType"
<xsd:complexType name="InsertResourcePropertiesRequestFailedFaultType"> <xsd:complexContent> <xsd:extension base="wsrf-bf:BaseFaultType"> <xsd:sequence> <xsd:element name="ResourcePropertyChangeFailure" type="wsrf-rp:ResourcePropertyChangeFailureType"/> </xsd:sequence> </xsd:extension> </xsd:complexContent> </xsd:complexType> <xsd:complexType name="ResourcePropertyChangeFailureType"> <xsd:sequence> <xsd:element name="CurrentValue" minOccurs="0" maxOccurs="1"> <xsd:complexType> <xsd:sequence> <xsd:any minOccurs="1" maxOccurs="unbounded" /> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="RequestedValue" minOccurs="0" maxOccurs="1"> <xsd:complexType> <xsd:sequence> <xsd:any minOccurs="1" maxOccurs="unbounded" /> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:sequence> <xsd:attribute name="Restored" type="xsd:boolean"/> </xsd:complexType>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor and Description InsertResourcePropertiesRequestFailedFault()
Default constructor.InsertResourcePropertiesRequestFailedFault(EndpointReference originator, ErrorCode errorCode, FaultDescription[] descriptions, IOSerializableSOAPElement faultCause, IOSerializableSOAPElement[] extensibilityElements, Attribute[] attributes)
Constructor for a new InsertResourcePropertiesRequestFailedFault instance.InsertResourcePropertiesRequestFailedFault(EndpointReference originator, ErrorCode errorCode, FaultDescription[] descriptions, IOSerializableSOAPElement faultCause, IOSerializableSOAPElement[] extensibilityElements, Attribute[] attributes, ResourcePropertyChangeFailure rpcf)
Constructor for a new InsertResourcePropertiesRequestFailedFault instance.
-
Method Summary
Methods Modifier and Type Method and Description java.lang.String
getMessage()
Get the message for this fault.ResourcePropertyChangeFailure
getResourcePropertyChangeFailure()
Gets the associated ResourcePropertyChangeFailure instance.void
setResourcePropertyChangeFailure(ResourcePropertyChangeFailure rpcf)
Sets the associated ResourcePropertyChangeFailure instance.-
Methods inherited from class com.ibm.websphere.wsrf.BaseFault
getAttributes, getDescriptions, getErrorCode, getExtensibilityElements, getFaultCause, getOriginator, getTimestamp, setAttributes, setDescriptions, setErrorCode, setExtensibilityElements, setFaultCause, setOriginator, setTimestamp
-
-
-
-
Constructor Detail
-
InsertResourcePropertiesRequestFailedFault
public InsertResourcePropertiesRequestFailedFault()
Default constructor. Constructs a InsertResourcePropertiesRequestFailedFault with the inherited and mandatory timestamp field set. Other fields may be modified using the 'set' methods.
-
InsertResourcePropertiesRequestFailedFault
public InsertResourcePropertiesRequestFailedFault(EndpointReference originator, ErrorCode errorCode, FaultDescription[] descriptions, IOSerializableSOAPElement faultCause, IOSerializableSOAPElement[] extensibilityElements, Attribute[] attributes)
Constructor for a new InsertResourcePropertiesRequestFailedFault 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
-
InsertResourcePropertiesRequestFailedFault
public InsertResourcePropertiesRequestFailedFault(EndpointReference originator, ErrorCode errorCode, FaultDescription[] descriptions, IOSerializableSOAPElement faultCause, IOSerializableSOAPElement[] extensibilityElements, Attribute[] attributes, ResourcePropertyChangeFailure rpcf)
Constructor for a new InsertResourcePropertiesRequestFailedFault 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.attributeName
- The attribute name.attributeName
- The attribute value.rpcf
- represents the state of the resource property after the failed request
-
-
Method Detail
-
getResourcePropertyChangeFailure
public ResourcePropertyChangeFailure getResourcePropertyChangeFailure()
Gets the associated ResourcePropertyChangeFailure instance.- Returns:
- ResourcePropertyChangeFailure instance that contains the wsrf-rp:ResourcePropertyChangeFailureType values.
-
setResourcePropertyChangeFailure
public void setResourcePropertyChangeFailure(ResourcePropertyChangeFailure rpcf)
Sets the associated ResourcePropertyChangeFailure instance.- Parameters:
ResourcePropertyChangeFailure
- instance that contains the wsrf-rp:ResourcePropertyChangeFailureType values.
-
getMessage
public java.lang.String getMessage()
Get the message for this fault. This method overrides the implementation injava.lang.Throwable
to return the text of the first description in the sequence of descriptions belonging to the fault.- Overrides:
getMessage
in classjava.lang.Throwable
- See Also:
Throwable.getMessage()
-
-