uk.org.ogsadai.service.faults
Class SimpleFaultType

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 byuk.org.ogsadai.service.faults.SimpleFaultType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
AuthorisationFaultType, ComplexFaultType, InternalFaultType, ResourceBusyFaultType, ResourceUnknownFaultType

public class SimpleFaultType
extends org.apache.axis.AxisFault
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  java.lang.String errorID
           
private  java.lang.String msg
           
private static org.apache.axis.description.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
SimpleFaultType()
           
SimpleFaultType(java.lang.String errorID, java.lang.String msg)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 java.lang.String getErrorID()
          Gets the errorID value for this SimpleFaultType.
 java.lang.String getMsg()
          Gets the msg value for this SimpleFaultType.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setErrorID(java.lang.String errorID)
          Sets the errorID value for this SimpleFaultType.
 void setMsg(java.lang.String msg)
          Sets the msg value for this SimpleFaultType.
 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, 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

errorID

private java.lang.String errorID

msg

private java.lang.String msg

__equalsCalc

private java.lang.Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

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

SimpleFaultType

public SimpleFaultType()

SimpleFaultType

public SimpleFaultType(java.lang.String errorID,
                       java.lang.String msg)
Method Detail

getErrorID

public java.lang.String getErrorID()
Gets the errorID value for this SimpleFaultType.

Returns:
errorID

setErrorID

public void setErrorID(java.lang.String errorID)
Sets the errorID value for this SimpleFaultType.

Parameters:
errorID -

getMsg

public java.lang.String getMsg()
Gets the msg value for this SimpleFaultType.

Returns:
msg

setMsg

public void setMsg(java.lang.String msg)
Sets the msg value for this SimpleFaultType.

Parameters:
msg -

equals

public boolean equals(java.lang.Object obj)

hashCode

public int hashCode()

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

Throws:
java.io.IOException