Name
JAXMException
Synopsis
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( )}
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access