JAXRPCException | javax.xml.rpc |
JAX-RPC 1.0; JWSDP 1.0, J2EE 1.4 | serializable unchecked |
public class JAXRPCException extends RuntimeException { // Public Constructors public JAXRPCException( ); public JAXRPCException( Throwable cause ); public JAXRPCException( String message ); public JAXRPCException( String message , Throwable cause ); // Public Instance Methods public Throwable getLinkedCause( ); // default:null }
JAXRPCException is an unchecked exception that is thrown to report an error condition that arises during the invocation of a method in JAX-RPC client-side API. In most cases, this exception reports incorrect use of a parameter in a client-side API, but may also be thrown to report an operational exception, such as a communication failure when attempting to send a SOAP message to the server-side implementation.
A JAXRPCException object has two attributes, both of which may only be set at construction time. The message attribute contains a human-readable string that describes the cause of the error. The cause attribute, of type java.lang.Throwable , is used if the JAXRPCException is being used to report an error that was originally caused by another exception. If a JAXRPCException is constructed with a non- null cause and a null message, then the message attribute is set to the value of the message associated with Throwable supplied as the cause.