Package javax.xml.rpc
Class ServiceException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- javax.xml.rpc.ServiceException
-
- All Implemented Interfaces:
java.io.Serializable
public class ServiceException extends java.lang.Exception
Thejavax.xml.rpc.ServiceException
is thrown from the methods in thejavax.xml.rpc.Service
interface andServiceFactory
class.- Version:
- 1.0
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.Throwable
cause
-
Constructor Summary
Constructors Constructor Description ServiceException()
Constructs a new exception withnull
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).
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Throwable
getLinkedCause()
Gets the Linked cause
-
-
-
Constructor Detail
-
ServiceException
public ServiceException()
Constructs a new exception withnull
as its detail message. The cause is not initialized.
-
ServiceException
public ServiceException(java.lang.String message)
Constructs a new exception with the specified detail message. The cause is not initialized.- Parameters:
message
- The detail message which is later retrieved using thegetMessage
method
-
ServiceException
public ServiceException(java.lang.String message, java.lang.Throwable cause)
Constructs a new exception with the specified detail message and cause.- Parameters:
message
- The detail message which is later retrieved using thegetMessage
methodcause
- The cause which is saved for the later retrieval throw by thegetCause
method
-
ServiceException
public 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).- Parameters:
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.)
-
-