public class SOAPFaultImpl extends HandleResource implements SOAPFault, Deletable
Modifier and Type | Field and Description |
---|---|
private boolean |
deleted
Flag indicating this resource was deleted or not.
|
private java.lang.String |
faultActor
The URI of the Web service actor that caused this SOAP-FAULT.
|
private java.lang.String |
faultCode
The SOAP-FAULT-CODE of this SOAP-FAULT object.
|
private SOAPFaultDetailImpl |
faultDetail
The SOAP-FAULT-DETAIL associated with this SOAP-FAULT object.
|
private java.lang.String |
faultString
The SOAP-FAULT-STRING of this SOAP-FAULT object.
|
instProc
Constructor and Description |
---|
SOAPFaultImpl(java.lang.String faultActor,
java.lang.String faultCode,
java.lang.String faultString,
SOAPFaultDetailImpl faultDetail)
Create a new SOAP Fault instance.
|
Modifier and Type | Method and Description |
---|---|
void |
delete()
Delete this resource.
|
character |
getFaultActor()
The URI of the Web service actor that caused this SOAP-FAULT.
|
character |
getFaultCode()
The SOAP-FAULT-CODE of this SOAP-FAULT object.
|
handle |
getFaultDetail()
Returns the handle of the SOAP-FAULT-DETAIL associated with this SOAP-FAULT object.
|
character |
getFaultString()
The SOAP-FAULT-STRING of this SOAP-FAULT object.
|
boolean |
valid()
Reports if this object is valid for use.
|
getResourceType, id, id, implicitDeletion, instantiatingProcedure, invalidAttribute, readOnlyError, setInstantiatingProcedure, type, unknown
private final java.lang.String faultActor
private final java.lang.String faultCode
private final java.lang.String faultString
private final SOAPFaultDetailImpl faultDetail
private boolean deleted
SOAPFaultImpl(java.lang.String faultActor, java.lang.String faultCode, java.lang.String faultString, SOAPFaultDetailImpl faultDetail)
faultActor
- The URI of the Web service actor that caused this SOAP-FAULT.faultCode
- The SOAP-FAULT-CODE of this SOAP-FAULT object.faultString
- The SOAP-FAULT-STRING of this SOAP-FAULT object.faultDetail
- The SOAP-FAULT-STRING of this SOAP-FAULT object.public character getFaultActor()
getFaultActor
in interface SOAPFault
public character getFaultCode()
getFaultCode
in interface SOAPFault
public handle getFaultDetail()
getFaultDetail
in interface SOAPFault
public character getFaultString()
getFaultString
in interface SOAPFault
public boolean valid()
valid
in interface WrappedResource
true
if we are valid (can be used).public void delete()
deleted
flag to true
.
The referenced faultDetail
will be deleted too.