public class ServiceException extends 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(String message)
Constructs a new exception with the specified detail
message.
|
ServiceException(String message,
Throwable cause)
Constructs a new exception with the specified detail
message and cause.
|
ServiceException(Throwable cause)
Constructs a new exception with the specified cause
and a detail message of (cause==null ?
|
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 ServiceException()
null
as its
detail message. The cause is not initialized.public ServiceException(String message)
message
- The detail message which is later
retrieved using the getMessage
methodpublic ServiceException(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 ServiceException(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 © The Apache Software Foundation. All Rights Reserved.