Top Description Fields Constructors Methods
javax.xml.rpc

public Class ServiceException

extends Exception
Class Inheritance

The javax.xml.rpc.ServiceException is thrown from the methods in the javax.xml.rpc.Service interface and ServiceFactory class.
Author
Rahul Sharma
Version
1.0

Field Summary

Modifier and TypeField and Description
private Throwable

Constructor Summary

AccessConstructor and Description
public
ServiceException()

Constructs a new exception with null as its detail message.

public
ServiceException(String
The detail message which is later retrieved using the getMessage method
message
)

Constructs a new exception with the specified detail message.

public
ServiceException(String
The detail message which is later retrieved using the getMessage method
message
,
Throwable
The cause which is saved for the later retrieval throw by the getCause method
cause
)

Constructs a new exception with the specified detail message and cause.

public
ServiceException(Throwable
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.)
cause
)

Constructs a new exception with the specified cause and a detail message of (cause==null ?

Method Summary

Modifier and TypeMethod and Description
public Throwable

Returns:

The cause of this Exception or null if the cause is noexistent or unknown
getLinkedCause
()

Gets the Linked cause

Field Detail

causeback to summary
private Throwable cause

Hides java.lang.Throwable.cause.

Constructor Detail

ServiceExceptionback to summary
public ServiceException()

Constructs a new exception with null as its detail message. The cause is not initialized.

ServiceExceptionback to summary
public ServiceException(String message)

Constructs a new exception with the specified detail message. The cause is not initialized.

Parameters
message:String

The detail message which is later retrieved using the getMessage method

ServiceExceptionback to summary
public ServiceException(String message, Throwable cause)

Constructs a new exception with the specified detail message and cause.

Parameters
message:String

The detail message which is later retrieved using the getMessage method

cause:Throwable

The cause which is saved for the later retrieval throw by the getCause method

ServiceExceptionback to summary
public 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).

Parameters
cause:Throwable

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

getLinkedCauseback to summary
public Throwable getLinkedCause()

Gets the Linked cause

Returns:Throwable

The cause of this Exception or null if the cause is noexistent or unknown