FileDocCategorySizeDatePackage
JAXRPCException.javaAPI DocphoneME MR2 API (J2ME)3195Wed May 02 18:00:34 BST 2007javax.xml.rpc

JAXRPCException

public class JAXRPCException extends RuntimeException
The javax.xml.rpc.JAXRPCException is thrown from the core JAX-RPC APIs to indicate an exception related to the JAX-RPC runtime mechanisms.
version
1.0

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

 
    super();
  
public JAXRPCException(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 JAXRPCException(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 getLinkedCause method

    super(message);
    this.cause = cause;
  
public JAXRPCException(Throwable cause)
Constructs a new JAXRPCException with the specified cause and a detail message of cause.toString() (if cause is non-null) which typically contains the class and detail message of cause.

param
cause The cause which is saved for the later retrieval throw by the getLinkedCause 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 this.cause;