|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object java.lang.Throwable java.lang.Exception javax.xml.rpc.ServiceException
public class ServiceException
The javax.xml.rpc.ServiceException
is thrown from the
methods in the javax.xml.rpc.Service
interface and
ServiceFactory
class.
Constructor Summary | |
---|---|
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 ? |
Method Summary | |
---|---|
Throwable |
getLinkedCause()
Gets the Linked cause |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
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.)Method Detail |
---|
public Throwable getLinkedCause()
null
if the cause is noexistent or unknown
|
Java EE 5 SDK | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Copyright 2006 Sun Microsystems, Inc. All rights reserved.