Name
JAXRException
Synopsis
public class JAXRException extends Exception implements JAXRResponse { // Public Constructors public JAXRException( ); public JAXRException( Throwablecause
); public JAXRException( Stringreason
); public JAXRException( Stringreason
, Throwablecause
); // 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( Throwablecause
); // 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 ...
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.