com.ibm.websphere.webservices.soap

Class SOAPException

  1. java.lang.Object
  2. extended byjava.lang.Throwable
  3. extended byjava.lang.Exception
  4. extended byjava.io.IOException
  5. extended byjava.rmi.RemoteException
  6. extended bycom.ibm.websphere.webservices.soap.SOAPException
All implemented interfaces:
java.io.Serializable

  1. public abstract class SOAPException
  2. extends java.rmi.RemoteException
A 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

Field Summary

Fields inherited from class java.rmi.RemoteException
detail

Constructor Summary

Modifier Constructor and Description
  1. protected
SOAPException()
  1. protected
SOAPException(java.lang.String message)
  1. protected
SOAPException(java.lang.String message,java.lang.Throwable t)

Method Summary

Modifier and Type Method and Description
  1. abstract
  2. java.lang.Exception
getApplicationException()
Returns the user-defined exception associated with this SOAPException.
  1. abstract
  2. java.lang.String
getFaultActor()
  1. abstract
  2. javax.xml.namespace.QName
getFaultCode()
  1. abstract
  2. java.lang.String
getFaultReason()
  1. abstract
  2. java.lang.String
getFaultReturnCode()
  1. abstract
  2. java.lang.String
getFaultString()
  1. abstract
  2. java.lang.String
getMessage()
  1. abstract
  2. boolean
isApplicationException()
Determines if this is a user-defined exception.
Methods inherited from class java.rmi.RemoteException
getCause
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail

SOAPException

  1. protected SOAPException()

SOAPException

  1. protected SOAPException(java.lang.String message)

SOAPException

  1. protected SOAPException(java.lang.String message,
  2. java.lang.Throwable t)

Method Detail

isApplicationException

  1. 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

  1. public abstract java.lang.Exception getApplicationException( )
Returns the user-defined exception associated with this SOAPException.
Returns:
the user-defined exception or null if this SOAPException is not a user-defined exception.

getFaultCode

  1. public abstract javax.xml.namespace.QName getFaultCode( )
Returns:
the faultCode associated with this SOAPException in the form of a QName

getFaultString

  1. public abstract java.lang.String getFaultString( )
Returns:
the faultString associated with this SOAPException

getFaultActor

  1. public abstract java.lang.String getFaultActor( )
Returns:
the faultActor associated with this SOAPException

getFaultReturnCode

  1. public abstract java.lang.String getFaultReturnCode( )
Returns:
the fault return code as a String

getFaultReason

  1. public abstract java.lang.String getFaultReason( )
Returns:
the fault reason associated with this SOAPException

getMessage

  1. public abstract java.lang.String getMessage( )
Overrides:
getMessage in class java.rmi.RemoteException
Returns:
the error message (fault details) associated with this SOAPException