|
JAXMException |
javax.xml.messaging |
JAXM 1.1; JWSDP 1.0 |
serializable checked |
public class JAXMException extends javax.xml.soap.SOAPException {
// Public Constructors
public JAXMException( );
public JAXMException( Throwable cause);
public JAXMException( String reason);
public JAXMException( String reason, Throwable cause);
}
JAXMException is a checked exception (derived from
javax.xml.soap.SOAPException) that is used to
report errors encountered during the execution of methods of the JAXM
API.
A JAXMException 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
JAXMException 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.
Thrown By
ProviderConnection.{close( ),
createMessageFactory( ), getMetaData(
), send( )},
ProviderConnectionFactory.{createConnection( ),
newInstance( )}