org.oasis.wsrf.faults
Class BaseFaultType

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by java.rmi.RemoteException
                  extended by org.apache.axis.AxisFault
                      extended by org.oasis.wsrf.faults.BaseFaultType
All Implemented Interfaces:
java.io.Serializable, org.apache.axis.encoding.AnyContentType
Direct Known Subclasses:
AddRefusedFaultType, BinaryExchangeFaultType, ContentCreationFailedFaultType, DeleteResourcePropertiesRequestFailedFaultType, InsertResourcePropertiesRequestFailedFaultType, InvalidContextIdFaultType, InvalidFilterFaultType, InvalidMessageContentExpressionFaultType, InvalidModificationFaultType, InvalidProducerPropertiesExpressionFaultType, InvalidQueryExpressionFaultType, InvalidResourcePropertyQNameFaultType, InvalidTopicExpressionFaultType, MalformedMessageFaultType, MultipleTopicsSpecifiedFaultType, NoCurrentMessageOnTopicFaultType, NotifyMessageNotSupportedFaultType, PauseFailedFaultType, QueryEvaluationErrorFaultType, RequestTypeNotSupportedFaultType, ResourceNotDestroyedFaultType, ResourceUnavailableFaultType, ResourceUnknownFaultType, ResumeFailedFaultType, SetResourcePropertyRequestFailedFaultType, SubscribeCreationFailedFaultType, TerminationTimeChangeRejectedFaultType, TokenTypeNotSupportedFaultType, TopicExpressionDialectUnknownFaultType, TopicNotSupportedFaultType, UnableToCreatePullPointFaultType, UnableToDestroyPullPointFaultType, UnableToDestroySubscriptionFaultType, UnableToGetMessagesFaultType, UnableToModifyResourcePropertyFaultType, UnableToPutResourcePropertyDocumentFaultType, UnableToSetTerminationTimeFaultType, UnacceptableInitialTerminationTimeFaultType, UnacceptableTerminationTimeFaultType, UnknownQueryExpressionDialectFaultType, UnrecognizedPolicyRequestFaultType, UnsupportedMemberInterfaceFaultType, UnsupportedPolicyRequestFaultType, UpdateResourcePropertiesRequestFailedFaultType

public class BaseFaultType
extends org.apache.axis.AxisFault
implements java.io.Serializable, org.apache.axis.encoding.AnyContentType

See Also:
Serialized Form

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  org.apache.axis.message.MessageElement[] _any
           
private  BaseFaultTypeDescription[] description
           
private  BaseFaultTypeErrorCode errorCode
           
private  BaseFaultTypeFaultCause faultCause
           
private  org.globus.axis.message.addressing.EndpointReferenceType originator
           
private  java.util.Calendar timestamp
           
private static org.apache.axis.description.TypeDesc typeDesc
           
 
Fields inherited from class org.apache.axis.AxisFault
faultActor, faultCode, faultDetails, faultHeaders, faultNode, faultString, faultSubCode, log, PROP_HOSTNAME_DETAIL
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
BaseFaultType()
           
BaseFaultType(org.apache.axis.message.MessageElement[] _any, java.util.Calendar timestamp, org.globus.axis.message.addressing.EndpointReferenceType originator, BaseFaultTypeErrorCode errorCode, BaseFaultTypeDescription[] description, BaseFaultTypeFaultCause faultCause)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 org.apache.axis.message.MessageElement[] get_any()
          Gets the _any value for this BaseFaultType.
 BaseFaultTypeDescription[] getDescription()
          Gets the description value for this BaseFaultType.
 BaseFaultTypeDescription getDescription(int i)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 BaseFaultTypeErrorCode getErrorCode()
          Gets the errorCode value for this BaseFaultType.
 BaseFaultTypeFaultCause getFaultCause()
          Gets the faultCause value for this BaseFaultType.
 org.globus.axis.message.addressing.EndpointReferenceType getOriginator()
          Gets the originator value for this BaseFaultType.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 java.util.Calendar getTimestamp()
          Gets the timestamp value for this BaseFaultType.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void set_any(org.apache.axis.message.MessageElement[] _any)
          Sets the _any value for this BaseFaultType.
 void setDescription(BaseFaultTypeDescription[] description)
          Sets the description value for this BaseFaultType.
 void setDescription(int i, BaseFaultTypeDescription _value)
           
 void setErrorCode(BaseFaultTypeErrorCode errorCode)
          Sets the errorCode value for this BaseFaultType.
 void setFaultCause(BaseFaultTypeFaultCause faultCause)
          Sets the faultCause value for this BaseFaultType.
 void setOriginator(org.globus.axis.message.addressing.EndpointReferenceType originator)
          Sets the originator value for this BaseFaultType.
 void setTimestamp(java.util.Calendar timestamp)
          Sets the timestamp value for this BaseFaultType.
 void writeDetails(javax.xml.namespace.QName qname, org.apache.axis.encoding.SerializationContext context)
          Writes the exception data to the faultDetails
 
Methods inherited from class org.apache.axis.AxisFault
addFaultDetail, addFaultDetail, addFaultDetailString, addFaultSubCode, addFaultSubCodeAsString, addHeader, addHostname, addHostnameIfNeeded, clearFaultDetails, clearFaultSubCodes, clearHeaders, dump, dumpToString, getAsEnvelope, getAsEnvelope, getFaultActor, getFaultCode, getFaultDetails, getFaultNode, getFaultReason, getFaultRole, getFaultString, getFaultSubCodes, getHeaders, initFaultSubCodes, lookupFaultDetail, makeFault, output, printStackTrace, printStackTrace, removeFaultDetail, removeHostname, setFaultActor, setFaultCode, setFaultCode, setFaultCodeAsString, setFaultDetail, setFaultDetailString, setFaultNode, setFaultReason, setFaultRole, setFaultString, toString
 
Methods inherited from class java.rmi.RemoteException
getCause, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

_any

private org.apache.axis.message.MessageElement[] _any

timestamp

private java.util.Calendar timestamp

originator

private org.globus.axis.message.addressing.EndpointReferenceType originator

errorCode

private BaseFaultTypeErrorCode errorCode

description

private BaseFaultTypeDescription[] description

faultCause

private BaseFaultTypeFaultCause faultCause

__equalsCalc

private java.lang.Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

private static org.apache.axis.description.TypeDesc typeDesc
Constructor Detail

BaseFaultType

public BaseFaultType()

BaseFaultType

public BaseFaultType(org.apache.axis.message.MessageElement[] _any,
                     java.util.Calendar timestamp,
                     org.globus.axis.message.addressing.EndpointReferenceType originator,
                     BaseFaultTypeErrorCode errorCode,
                     BaseFaultTypeDescription[] description,
                     BaseFaultTypeFaultCause faultCause)
Method Detail

get_any

public org.apache.axis.message.MessageElement[] get_any()
Gets the _any value for this BaseFaultType.

Specified by:
get_any in interface org.apache.axis.encoding.AnyContentType
Returns:
_any

set_any

public void set_any(org.apache.axis.message.MessageElement[] _any)
Sets the _any value for this BaseFaultType.

Specified by:
set_any in interface org.apache.axis.encoding.AnyContentType
Parameters:
_any -

getTimestamp

public java.util.Calendar getTimestamp()
Gets the timestamp value for this BaseFaultType.

Returns:
timestamp

setTimestamp

public void setTimestamp(java.util.Calendar timestamp)
Sets the timestamp value for this BaseFaultType.

Parameters:
timestamp -

getOriginator

public org.globus.axis.message.addressing.EndpointReferenceType getOriginator()
Gets the originator value for this BaseFaultType.

Returns:
originator

setOriginator

public void setOriginator(org.globus.axis.message.addressing.EndpointReferenceType originator)
Sets the originator value for this BaseFaultType.

Parameters:
originator -

getErrorCode

public BaseFaultTypeErrorCode getErrorCode()
Gets the errorCode value for this BaseFaultType.

Returns:
errorCode

setErrorCode

public void setErrorCode(BaseFaultTypeErrorCode errorCode)
Sets the errorCode value for this BaseFaultType.

Parameters:
errorCode -

getDescription

public BaseFaultTypeDescription[] getDescription()
Gets the description value for this BaseFaultType.

Returns:
description

setDescription

public void setDescription(BaseFaultTypeDescription[] description)
Sets the description value for this BaseFaultType.

Parameters:
description -

getDescription

public BaseFaultTypeDescription getDescription(int i)

setDescription

public void setDescription(int i,
                           BaseFaultTypeDescription _value)

getFaultCause

public BaseFaultTypeFaultCause getFaultCause()
Gets the faultCause value for this BaseFaultType.

Returns:
faultCause

setFaultCause

public void setFaultCause(BaseFaultTypeFaultCause faultCause)
Sets the faultCause value for this BaseFaultType.

Parameters:
faultCause -

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

getTypeDesc

public static org.apache.axis.description.TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType,
                                                                java.lang.Class _javaType,
                                                                javax.xml.namespace.QName _xmlType)
Get Custom Serializer


getDeserializer

public static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType,
                                                                    java.lang.Class _javaType,
                                                                    javax.xml.namespace.QName _xmlType)
Get Custom Deserializer


writeDetails

public void writeDetails(javax.xml.namespace.QName qname,
                         org.apache.axis.encoding.SerializationContext context)
                  throws java.io.IOException
Writes the exception data to the faultDetails

Overrides:
writeDetails in class org.apache.axis.AxisFault
Throws:
java.io.IOException