com.ibm.websphere.wsrf

Class InvalidModificationFault

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended bycom.ibm.websphere.wsrf.BaseFault
  5. extended bycom.ibm.websphere.wsrf.InvalidModificationFault
All implemented interfaces:
java.io.Serializable

  1. public class InvalidModificationFault
  2. extends BaseFault

This class represents the XML complexType "wsrf-rp:InvalidModificationFaultType"

 <xsd:complexType name="InvalidModificationFaultType">
   <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

Constructor and Description
InvalidModificationFault()
Default constructor.
InvalidModificationFault(EndpointReference originator,ErrorCode errorCode,FaultDescription[] descriptions,IOSerializableSOAPElement faultCause,IOSerializableSOAPElement[] extensibilityElements,Attribute[] attributes)
Constructor for a new InvalidModificationFault instance.
InvalidModificationFault(EndpointReference originator,ErrorCode errorCode,FaultDescription[] descriptions,IOSerializableSOAPElement faultCause,IOSerializableSOAPElement[] extensibilityElements,Attribute[] attributes,ResourcePropertyChangeFailure rpcf)
Constructor for a new InvalidModificationFault instance.

Method Summary

Modifier and Type Method and Description
  1. java.lang.String
getMessage()
Get the message for this fault.
  1. ResourcePropertyChangeFailure
getResourcePropertyChangeFailure()
Gets the associated ResourcePropertyChangeFailure instance.
  1. 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
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

InvalidModificationFault

  1. public InvalidModificationFault( )
Default constructor. Constructs a InvalidModificationFault with the inherited and mandatory timestamp field set. Other fields may be modified using the 'set' methods.

InvalidModificationFault

  1. public InvalidModificationFault( EndpointReference originator,
  2. ErrorCode errorCode,
  3. FaultDescription[] descriptions,
  4. IOSerializableSOAPElement faultCause,
  5. IOSerializableSOAPElement[] extensibilityElements,
  6. Attribute[] attributes)
Constructor for a new InvalidModificationFault 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

InvalidModificationFault

  1. public InvalidModificationFault( EndpointReference originator,
  2. ErrorCode errorCode,
  3. FaultDescription[] descriptions,
  4. IOSerializableSOAPElement faultCause,
  5. IOSerializableSOAPElement[] extensibilityElements,
  6. Attribute[] attributes,
  7. ResourcePropertyChangeFailure rpcf)
Constructor for a new InvalidModificationFault 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
rpcf - represents the state of the resource property after the failed request

Method Detail

getResourcePropertyChangeFailure

  1. public ResourcePropertyChangeFailure getResourcePropertyChangeFailure( )
Gets the associated ResourcePropertyChangeFailure instance.
Returns:
ResourcePropertyChangeFailure ResourcePropertyChangeFailure instance that contains the wsrf-rp:ResourcePropertyChangeFailureType values.

setResourcePropertyChangeFailure

  1. public void setResourcePropertyChangeFailure( ResourcePropertyChangeFailure rpcf)
Sets the associated ResourcePropertyChangeFailure instance.

getMessage

  1. 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()