javax.xml.rpc
public class: JAXRPCException [javadoc |
source]
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.xml.rpc.JAXRPCException
All Implemented Interfaces:
Serializable
The
javax.xml.rpc.JAXRPCException is thrown from
the core JAX-RPC APIs to indicate an exception related to the
JAX-RPC runtime mechanisms.
| Field Summary |
|---|
| Throwable | cause | The cause of this error. |
| Constructor: |
public JAXRPCException() {
}
Constructs a new exception with null as its
detail message. The cause is not initialized. |
public JAXRPCException(String message) {
super(message);
}
Constructs a new exception with the specified detail
message. The cause is not initialized. Parameters:
message - The detail message which is later
retrieved using the getMessage method
|
public JAXRPCException(Throwable cause) {
super( (cause == null) ? null : cause.toString() );
this.cause = cause;
}
Constructs a new JAXRPCException with the specified cause
and a detail message of (cause==null ? null :
cause.toString()) (which typically contains the
class and detail message of cause). Parameters:
cause - The cause which is saved for the later
retrieval throw by the getCause method.
(A null value is permitted, and
indicates that the cause is nonexistent or
unknown.)
|
public JAXRPCException(String message,
Throwable cause) {
super(message);
this.cause = cause;
}
Constructs a new exception with the specified detail
message and cause. Parameters:
message - The detail message which is later retrieved
using the getMessage method
cause - The cause which is saved for the later
retrieval throw by the getCause method
|
| Methods from java.lang.Throwable: |
|---|
|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
| Methods from java.lang.Object: |
|---|
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |