Name
JAXRException
Synopsis
public class JAXRException extends Exception implements JAXRResponse {
// Public Constructors
public JAXRException( );
public JAXRException( Throwable cause);
public JAXRException( String reason);
public JAXRException( String reason, Throwable cause);
// Methods Implementing JAXRResponse
public String getRequestId( );
// constant default:null L0
public int getStatus( );
// constant default:0 L0
public boolean isAvailable( ) throws JAXRException;
// constant default:true
// Public Methods Overriding Throwable
public Throwable getCause( );
// default:null
public String getMessage( );
// default:null
public Throwable initCause( Throwable cause);
// synchronized
// Protected Instance Fields
protected Throwable cause;
}JAXRException is a checked exception that can be
thrown from many of the methods in the JAXR API.
JAXRException also implements the methods of the
JAXRResponse interface, although there is no clear
reason why it should do so. In the reference implementation, these
methods return fixed values that indicate a completed request.
Registry exceptions that result from errors detected by the JAXR
provider (that is, on the client side of the operation) are derived
from JAXRException, while those that occur on the
registry side are reported as subclasses of
RegistryException, which is itself derived from
JAXRException.
A JAXRException contains a text message that
describes the reason for the exception, and an optional
Throwable that can be used to link ...
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