Name
SOAPException
Synopsis
public class SOAPException extends Exception { // Public Constructors public SOAPException( ); public SOAPException( Stringreason
); public SOAPException( Throwablecause
); public SOAPException( Stringreason
, Throwablecause
); // Public Methods Overriding Throwable public Throwable getCause( ); // default:null public String getMessage( ); // default:null public Throwable initCause( Throwablecause
); // synchronized }
SOAPException
is a checked exception that is used
to report errors encountered during the execution of methods of the
SAAJ API.
A SOAPException
typically includes a text string
giving a human-readable description of the error and, in some cases,
may have an associated Throwable
that represents
the root cause of the problem. The four constructors allow a
SOAPException
to be created with any combination
of text message and Throwable
, which may
subsequently be retrieved using the getMessage( )
and getCause( )
methods. Note that the
Throwable
attribute can be set either at
construction time or by using the initCause( )
method. However, a java.lang.IllegalStateException
is thrown if this method is called when the
Throwable
attribute has already been set.
Subclasses
javax.xml.messaging.JAXMException
Thrown By
Too many methods to list.
Get Java Web Services in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.