org.globus.exec.generated
Class FaultType

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
                          extended byorg.globus.exec.generated.FaultType
All Implemented Interfaces:
java.io.Serializable
Direct Known Subclasses:
CredentialSerializationFaultType, InsufficientCredentialsFaultType, InternalFaultType, InvalidCredentialsFaultType, ServiceLevelAgreementFaultType

public class FaultType
extends BaseFaultType
implements java.io.Serializable

This is the base fault for runtime errors that occur while managing a job. It extends the OGSI FaultType.

See Also:
Serialized Form

Field Summary
private  java.lang.Object __equalsCalc
           
private  boolean __hashCodeCalc
           
private  java.lang.String command
           
private  int gt2ErrorCode
           
private  StateEnumeration stateWhenFailureOccurred
           
private static org.apache.axis.description.TypeDesc typeDesc
           
 
Fields inherited from class org.oasis.wsrf.faults.BaseFaultType
 
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
FaultType()
           
FaultType(java.lang.String command, int gt2ErrorCode, StateEnumeration stateWhenFailureOccurred)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getCommand()
          Gets the command value for this FaultType.
static org.apache.axis.encoding.Deserializer getDeserializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Deserializer
 int getGt2ErrorCode()
          Gets the gt2ErrorCode value for this FaultType.
static org.apache.axis.encoding.Serializer getSerializer(java.lang.String mechType, java.lang.Class _javaType, javax.xml.namespace.QName _xmlType)
          Get Custom Serializer
 StateEnumeration getStateWhenFailureOccurred()
          Gets the stateWhenFailureOccurred value for this FaultType.
static org.apache.axis.description.TypeDesc getTypeDesc()
          Return type metadata object
 int hashCode()
           
 void setCommand(java.lang.String command)
          Sets the command value for this FaultType.
 void setGt2ErrorCode(int gt2ErrorCode)
          Sets the gt2ErrorCode value for this FaultType.
 void setStateWhenFailureOccurred(StateEnumeration stateWhenFailureOccurred)
          Sets the stateWhenFailureOccurred value for this FaultType.
 
Methods inherited from class org.oasis.wsrf.faults.BaseFaultType
getDescription, getDescription, getErrorCode, getFaultCause, getFaultCause, getOriginator, getTimestamp, setDescription, setDescription, setErrorCode, setFaultCause, setFaultCause, setOriginator, setTimestamp, writeDetails
 
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

stateWhenFailureOccurred

private StateEnumeration stateWhenFailureOccurred

command

private java.lang.String command

gt2ErrorCode

private int gt2ErrorCode

__equalsCalc

private java.lang.Object __equalsCalc

__hashCodeCalc

private boolean __hashCodeCalc

typeDesc

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

FaultType

public FaultType()

FaultType

public FaultType(java.lang.String command,
                 int gt2ErrorCode,
                 StateEnumeration stateWhenFailureOccurred)
Method Detail

getStateWhenFailureOccurred

public StateEnumeration getStateWhenFailureOccurred()
Gets the stateWhenFailureOccurred value for this FaultType.

Returns:
stateWhenFailureOccurred

setStateWhenFailureOccurred

public void setStateWhenFailureOccurred(StateEnumeration stateWhenFailureOccurred)
Sets the stateWhenFailureOccurred value for this FaultType.

Parameters:
stateWhenFailureOccurred -

getCommand

public java.lang.String getCommand()
Gets the command value for this FaultType.

Returns:
command

setCommand

public void setCommand(java.lang.String command)
Sets the command value for this FaultType.

Parameters:
command -

getGt2ErrorCode

public int getGt2ErrorCode()
Gets the gt2ErrorCode value for this FaultType.

Returns:
gt2ErrorCode

setGt2ErrorCode

public void setGt2ErrorCode(int gt2ErrorCode)
Sets the gt2ErrorCode value for this FaultType.

Parameters:
gt2ErrorCode -

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