|
SOAPException |
javax.xml.soap |
SAAJ 1.1; JWSDP 1.0, J2EE 1.4 |
serializable checked |
public class SOAPException extends Exception {
// Public Constructors
public SOAPException( );
public SOAPException( String reason);
public SOAPException( Throwable cause);
public SOAPException( String reason, Throwable cause);
// Public Methods Overriding Throwable
public Throwable getCause( );
// default:null
public String getMessage( );
// default:null
public Throwable initCause( Throwable cause);
// 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.