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 ? 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 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 © 1996-2013, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.