public class GCUBEFault extends org.oasis.wsrf.faults.BaseFaultType implements Serializable
faultActor, faultCode, faultDetails, faultHeaders, faultNode, faultString, faultSubCode, logdetail| Constructor and Description |
|---|
GCUBEFault()
Creates a new instance.
|
GCUBEFault(Calendar timestamp,
org.apache.axis.message.addressing.EndpointReferenceType originator,
org.oasis.wsrf.faults.BaseFaultTypeErrorCode errorCode,
org.oasis.wsrf.faults.BaseFaultTypeDescription[] description,
org.oasis.wsrf.faults.BaseFaultType[] faultCause,
String faultMessage,
String faultType)
Creates a new fault from various parameters.
|
GCUBEFault(String... msg)
Creates an instance with an optional message.
|
GCUBEFault(Throwable e,
String... msg)
Creates an instance from a given cause and, optionally, a message.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static org.apache.axis.encoding.Deserializer |
getDeserializer(String mechType,
Class _javaType,
QName _xmlType)
Get Custom Deserializer
|
protected GCUBEException |
getException(String msg,
Throwable cause)
Returns an exception corresponding to this fault type.
|
String |
getFaultMessage()
Returns the fault message.
|
String |
getFaultType()
Returns the fault type.
|
static org.apache.axis.encoding.Serializer |
getSerializer(String mechType,
Class _javaType,
QName _xmlType)
Get a sustom Serializer
|
static org.apache.axis.description.TypeDesc |
getTypeDesc()
Returns the type description
|
int |
hashCode() |
Throwable |
remoteCause()
Returns the remote cause of the fault as a
Throwable |
void |
setFaultMessage(String faultMessage)
Sets the fault message.
|
void |
setFaultType(String faultType)
Sets the fault type.
|
GCUBEException |
toException()
Converts the fault into a corresponding
GCUBEException. |
void |
writeDetails(QName qname,
org.apache.axis.encoding.SerializationContext context) |
getDescription, getDescription, getErrorCode, getFaultCause, getFaultCause, getOriginator, getTimestamp, setDescription, setDescription, setErrorCode, setFaultCause, setFaultCause, setOriginator, setTimestampaddFaultDetail, 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, toStringgetCause, getMessageaddSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, setStackTracepublic GCUBEFault()
public GCUBEFault(Calendar timestamp, org.apache.axis.message.addressing.EndpointReferenceType originator, org.oasis.wsrf.faults.BaseFaultTypeErrorCode errorCode, org.oasis.wsrf.faults.BaseFaultTypeDescription[] description, org.oasis.wsrf.faults.BaseFaultType[] faultCause, String faultMessage, String faultType)
timestamp - the timestamp.originator - the originat.errorCode - the error code.description - the description.faultCause - the cause.faultMessage - the message.faultType - the type.public GCUBEFault(Throwable e, String... msg)
e - the causemsg - (optional) message.public GCUBEFault(String... msg)
msg - (optional) the message.public String getFaultMessage()
public void setFaultMessage(String faultMessage)
faultMessage - the message.public String getFaultType()
public void setFaultType(String faultType)
faultType - the type.public boolean equals(Object obj)
equals in class org.oasis.wsrf.faults.BaseFaultTypepublic int hashCode()
hashCode in class org.oasis.wsrf.faults.BaseFaultTypepublic static org.apache.axis.description.TypeDesc getTypeDesc()
public static org.apache.axis.encoding.Serializer getSerializer(String mechType, Class _javaType, QName _xmlType)
public static org.apache.axis.encoding.Deserializer getDeserializer(String mechType, Class _javaType, QName _xmlType)
public void writeDetails(QName qname, org.apache.axis.encoding.SerializationContext context) throws IOException
writeDetails in class org.oasis.wsrf.faults.BaseFaultTypeIOExceptionpublic Throwable remoteCause()
ThrowableThrowableFaultUtils.remoteCause(GCUBEFault)public GCUBEException toException()
GCUBEException.protected GCUBEException getException(String msg, Throwable cause)
msg - the message of the exception.Copyright © 2015. All Rights Reserved.