org.oasis.wsrf.faults
Class BaseFaultType

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byjava.io.IOException
              extended byjava.rmi.RemoteException
                  extended byorg.apache.axis.AxisFault
                      extended byorg.oasis.wsrf.faults.BaseFaultType
All Implemented Interfaces:
Serializable
Direct Known Subclasses:
AddRefusedFaultType, BinaryExchangeFaultType, ContentCreationFailedFaultType, InvalidContextIdFaultType, InvalidQueryExpressionFaultType, InvalidResourcePropertyQNameFaultType, InvalidSetResourcePropertiesRequestContentFaultType, InvalidTopicExpressionFaultType, MalformedMessageFaultType, NoCurrentMessageOnTopicFaultType, PauseFailedFaultType, QueryEvaluationErrorFaultType, RequestTypeNotSupportedFaultType, ResourceNotDestroyedFaultType, ResourceUnknownFaultType, ResourceUnknownFaultType, ResourceUnknownFaultType, ResumeFailedFaultType, SetResourcePropertyRequestFailedFaultType, SubscribeCreationFailedFaultType, TerminationTimeChangeRejectedFaultType, TokenTypeNotSupportedFaultType, TopicNotSupportedFaultType, TopicPathDialectUnknownFaultType, UnableToModifyResourcePropertyFaultType, UnableToSetTerminationTimeFaultType, UnknownQueryExpressionDialectFaultType, UnsupportedMemberInterfaceFaultType

public class BaseFaultType
extends AxisFault
implements Serializable

See Also:
Serialized Form

Field Summary
private  Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  BaseFaultTypeDescription[] description
           
private  BaseFaultTypeErrorCode errorCode
           
private  BaseFaultType[] faultCause
           
private  EndpointReferenceType originator
           
private  Calendar timestamp
           
private static TypeDesc typeDesc
           
 
Fields inherited from class org.apache.axis.AxisFault
faultActor, faultCode, faultDetails, faultHeaders, faultNode, faultString, faultSubCode, log
 
Fields inherited from class java.rmi.RemoteException
detail
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
BaseFaultType()
           
BaseFaultType(Calendar timestamp, EndpointReferenceType originator, BaseFaultTypeErrorCode errorCode, BaseFaultTypeDescription[] description, BaseFaultType[] faultCause)
           
 
Method Summary
 boolean equals(Object obj)
           
 BaseFaultTypeDescription[] getDescription()
          Gets the description value for this BaseFaultType.
 BaseFaultTypeDescription getDescription(int i)
           
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 BaseFaultTypeErrorCode getErrorCode()
          Gets the errorCode value for this BaseFaultType.
 BaseFaultType[] getFaultCause()
          Gets the faultCause value for this BaseFaultType.
 BaseFaultType getFaultCause(int i)
           
 EndpointReferenceType getOriginator()
          Gets the originator value for this BaseFaultType.
static Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Serializer
 Calendar getTimestamp()
          Gets the timestamp value for this BaseFaultType.
static TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 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(BaseFaultType[] faultCause)
          Sets the faultCause value for this BaseFaultType.
 void setFaultCause(int i, BaseFaultType _value)
           
 void setOriginator(EndpointReferenceType originator)
          Sets the originator value for this BaseFaultType.
 void setTimestamp(Calendar timestamp)
          Sets the timestamp value for this BaseFaultType.
 void writeDetails(QName qname, 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, 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

timestamp

private Calendar timestamp

originator

private EndpointReferenceType originator

errorCode

private BaseFaultTypeErrorCode errorCode

description

private BaseFaultTypeDescription[] description

faultCause

private BaseFaultType[] faultCause

__equalsCalc

private Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

private static TypeDesc typeDesc
Constructor Detail

BaseFaultType

public BaseFaultType()

BaseFaultType

public BaseFaultType(Calendar timestamp,
                     EndpointReferenceType originator,
                     BaseFaultTypeErrorCode errorCode,
                     BaseFaultTypeDescription[] description,
                     BaseFaultType[] faultCause)
Method Detail

getTimestamp

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

Returns:
timestamp

setTimestamp

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

Parameters:
timestamp -

getOriginator

public EndpointReferenceType getOriginator()
Gets the originator value for this BaseFaultType.

Returns:
originator

setOriginator

public void setOriginator(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 BaseFaultType[] getFaultCause()
Gets the faultCause value for this BaseFaultType.

Returns:
faultCause

setFaultCause

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

Parameters:
faultCause -

getFaultCause

public BaseFaultType getFaultCause(int i)

setFaultCause

public void setFaultCause(int i,
                          BaseFaultType _value)

equals

public boolean equals(Object obj)

hashCode

public int hashCode()

getTypeDesc

public static TypeDesc getTypeDesc()
Return type metadata object


getSerializer

public static Serializer getSerializer(String mechType,
                                       Class _javaType,
                                       QName _xmlType)
Get Custom Serializer


getDeserializer

public static Deserializer getDeserializer(String mechType,
                                           Class _javaType,
                                           QName _xmlType)
Get Custom Deserializer


writeDetails

public void writeDetails(QName qname,
                         SerializationContext context)
                  throws IOException
Writes the exception data to the faultDetails

Throws:
IOException