com.ibm.websphere.webservices.soap
Class SOAPException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.io.IOException
-
- java.rmi.RemoteException
-
- com.ibm.websphere.webservices.soap.SOAPException
-
- All Implemented Interfaces:
- java.io.Serializable
public abstract class SOAPException extends java.rmi.RemoteExceptionA SOAPException is a Remote Exception representing the information of the SOAPFault. The SOAPException may represent a System exception or an Application exception.- See Also:
RemoteException, Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor and Description protectedSOAPException()protectedSOAPException(java.lang.String message)protectedSOAPException(java.lang.String message, java.lang.Throwable t)
-
Method Summary
Methods Modifier and Type Method and Description abstract java.lang.ExceptiongetApplicationException()Returns the user-defined exception associated with thisSOAPException.abstract java.lang.StringgetFaultActor()abstract javax.xml.namespace.QNamegetFaultCode()abstract java.lang.StringgetFaultReason()abstract java.lang.StringgetFaultReturnCode()abstract java.lang.StringgetFaultString()abstract java.lang.StringgetMessage()abstract booleanisApplicationException()Determines if this is a user-defined exception.
-
-
-
Constructor Detail
-
SOAPException
protected SOAPException()
-
SOAPException
protected SOAPException(java.lang.String message)
-
SOAPException
protected SOAPException(java.lang.String message, java.lang.Throwable t)
-
-
Method Detail
-
isApplicationException
public abstract boolean isApplicationException()
Determines if this is a user-defined exception. A user-defined exception is one that is described in the WSDL for a given operation and is thrown by the service endpoint.- Returns:
- true if the SOAPException represents a user-defined exception.
-
getApplicationException
public abstract java.lang.Exception getApplicationException()
Returns the user-defined exception associated with thisSOAPException.- Returns:
- the user-defined exception or null if this
SOAPExceptionis not a user-defined exception.
-
getFaultCode
public abstract javax.xml.namespace.QName getFaultCode()
- Returns:
- the faultCode associated with this
SOAPExceptionin the form of a QName
-
getFaultString
public abstract java.lang.String getFaultString()
- Returns:
- the faultString associated with this
SOAPException
-
getFaultActor
public abstract java.lang.String getFaultActor()
- Returns:
- the faultActor associated with this
SOAPException
-
getFaultReturnCode
public abstract java.lang.String getFaultReturnCode()
- Returns:
- the fault return code as a String
-
getFaultReason
public abstract java.lang.String getFaultReason()
- Returns:
- the fault reason associated with this
SOAPException
-
getMessage
public abstract java.lang.String getMessage()
- Overrides:
getMessagein classjava.rmi.RemoteException- Returns:
- the error message (fault details) associated with this
SOAPException
-
-