public class JAXRPCException extends RuntimeException
javax.xml.rpc.JAXRPCException
is thrown from
the core JAX-RPC APIs to indicate an exception related to the
JAX-RPC runtime mechanisms.Constructor and Description |
---|
JAXRPCException()
Constructs a new exception with
null as its
detail message. |
JAXRPCException(String message)
Constructs a new exception with the specified detail
message.
|
JAXRPCException(String message,
Throwable cause)
Constructs a new exception with the specified detail
message and cause.
|
JAXRPCException(Throwable 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).
|
Modifier and Type | Method and Description |
---|---|
Throwable |
getLinkedCause()
Gets the Linked cause
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public JAXRPCException()
null
as its
detail message. The cause is not initialized.public JAXRPCException(String message)
message
- The detail message which is later
retrieved using the getMessage methodpublic JAXRPCException(String message, Throwable cause)
message
- The detail message which is later retrieved
using the getMessage methodcause
- The cause which is saved for the later
retrieval throw by the getCause methodpublic JAXRPCException(Throwable cause)
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 Throwable getLinkedCause()
null
if the cause is noexistent or unknownCopyright © 1996-2017, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.