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, ContentCreationFailedFaultType, InvalidQueryExpressionFaultType, InvalidResourcePropertyQNameFaultType, InvalidSetResourcePropertiesRequestContentFaultType, InvalidTopicExpressionFaultType, NoCurrentMessageOnTopicFaultType, PauseFailedFaultType, QueryEvaluationErrorFaultType, ResourceNotDestroyedFaultType, ResourceUnknownFaultType, ResourceUnknownFaultType, ResourceUnknownFaultType, ResumeFailedFaultType, SetResourcePropertyRequestFailedFaultType, SubscribeCreationFailedFaultType, TerminationTimeChangeRejectedFaultType, TopicNotSupportedFaultType, TopicPathDialectUnknownFaultType, UnableToModifyResourcePropertyFaultType, UnableToSetTerminationTimeFaultType, UnknownQueryExpressionDialectFaultType, UnsupportedMemberInterfaceFaultType

public class BaseFaultType
extends AxisFault
implements Serializable

See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.apache.axis.AxisFault
faultActor, faultCode, faultDetails, faultHeaders, faultNode, faultString, faultSubCode, log
 
Fields inherited from class java.rmi.RemoteException
detail
 
Constructor Summary
BaseFaultType()
           
BaseFaultType(Calendar timestamp, EndpointReferenceType originator, _BaseFaultType_ErrorCode errorCode, _BaseFaultType_Description[] description, BaseFaultType[] faultCause)
           
 
Method Summary
 boolean equals(Object obj)
           
 _BaseFaultType_Description[] getDescription()
          Gets the description value for this BaseFaultType.
 _BaseFaultType_Description getDescription(int i)
           
static Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
          Get Custom Deserializer
 _BaseFaultType_ErrorCode 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(_BaseFaultType_Description[] description)
          Sets the description value for this BaseFaultType.
 void setDescription(int i, _BaseFaultType_Description _value)
           
 void setErrorCode(_BaseFaultType_ErrorCode 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
 

Constructor Detail

BaseFaultType

public BaseFaultType()

BaseFaultType

public BaseFaultType(Calendar timestamp,
                     EndpointReferenceType originator,
                     _BaseFaultType_ErrorCode errorCode,
                     _BaseFaultType_Description[] 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 _BaseFaultType_ErrorCode getErrorCode()
Gets the errorCode value for this BaseFaultType.

Returns:
errorCode

setErrorCode

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

Parameters:
errorCode -

getDescription

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

Returns:
description

setDescription

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

Parameters:
description -

getDescription

public _BaseFaultType_Description getDescription(int i)

setDescription

public void setDescription(int i,
                           _BaseFaultType_Description _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


Copyright ? 1999-2003 University of Chicago and The University of Southern California. All rights reserved.