Top Description Constructors
javax.xml.ws

public Class WebServiceException

extends RuntimeException
Class Inheritance
Known Direct Subclasses
javax.xml.ws.ProtocolException

The WebServiceException class is the base exception class for all JAX-WS API runtime exceptions.
Since
1.6, JAX-WS 2.0

Constructor Summary

AccessConstructor and Description
public
WebServiceException()

Constructs a new exception with null as its detail message.

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

Constructs a new exception with the specified detail message.

public
WebServiceException(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
WebServiceException(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 WebServiceException with the specified cause and a detail message of (cause==null ?

Constructor Detail

WebServiceExceptionback to summary
public WebServiceException()

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

WebServiceExceptionback to summary
public WebServiceException(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

WebServiceExceptionback to summary
public WebServiceException(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

WebServiceExceptionback to summary
public WebServiceException(Throwable cause)

Constructs a new WebServiceException 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.)