FileDocCategorySizeDatePackage
ServiceException.javaAPI DocApache Axis 1.42975Sat Apr 22 18:57:28 BST 2006javax.xml.rpc

ServiceException

public class ServiceException extends Exception
The javax.xml.rpc.ServiceException is thrown from the methods in the javax.xml.rpc.Service interface and ServiceFactory class.
version
1.0

Fields Summary
Throwable
cause
The cause of this exception.
Constructors Summary
public ServiceException()
Constructs a new exception with null as its detail message. The cause is not initialized.

public ServiceException(String message)
Constructs a new exception with the specified detail message. The cause is not initialized.

param
message The detail message which is later retrieved using the getMessage method

        super(message);
    
public ServiceException(String message, Throwable cause)
Constructs a new exception with the specified detail message and cause.

param
message the detail message which is later retrieved using the getMessage method
param
cause the cause which is saved for the later retrieval throw by the getCause method

        super(message);
        this.cause = cause;
    
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).

param
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.)

        super( (cause == null) ? null : cause.toString() );
        this.cause = cause;
    
Methods Summary
public java.lang.ThrowablegetLinkedCause()
Gets the linked cause.

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

        return cause;