public class ServiceException
extends java.lang.Exception
javax.xml.rpc.ServiceException is thrown from the
methods in the javax.xml.rpc.Service interface and
ServiceFactory class.| Constructor and Description |
|---|
ServiceException()
Constructs a new exception with
null as its
detail message. |
ServiceException(java.lang.String message)
Constructs a new exception with the specified detail
message.
|
ServiceException(java.lang.String message,
java.lang.Throwable cause)
Constructs a new exception with the specified detail
message and cause.
|
ServiceException(java.lang.Throwable cause)
Constructs a new exception 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 |
|---|---|
java.lang.Throwable |
getLinkedCause()
Gets the Linked cause
|
public ServiceException()
null as its
detail message. The cause is not initialized.public ServiceException(java.lang.String message)
message - The detail message which is later
retrieved using the getMessage methodpublic ServiceException(java.lang.String message,
java.lang.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 ServiceException(java.lang.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.)