javax.xml.rpc
Class JAXRPCException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.xml.rpc.JAXRPCException
All Implemented Interfaces:
java.io.Serializable

public class JAXRPCException
extends java.lang.RuntimeException

The javax.xml.rpc.JAXRPCException is thrown from the core JAX-RPC APIs to indicate exceptions related to the JAX-RPC runtime mechanisms. A JAXRPCException is mapped to a java.rmi.RemoteException if the former is thrown during the processing of a remote method invocation.

Version:
0.1
See Also:
Serialized Form

Constructor Summary
JAXRPCException()
          Constructs a new exception with null as its detail message.
JAXRPCException(java.lang.String message)
          Constructs a new exception with the specified detail message.
JAXRPCException(java.lang.String message, java.lang.Throwable cause)
          Contructs a new exception with the specified detail message and wraps another exception.
JAXRPCException(java.lang.Throwable cause)
          Constructs a new exception which wraps another exception.
 
Method Summary
 java.lang.Throwable getCause()
          Returns the exception wrapped by this JAXRPCException
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAXRPCException

public JAXRPCException()
Constructs a new exception with null as its detail message.

JAXRPCException

public JAXRPCException(java.lang.String message)
Constructs a new exception with the specified detail message.
Parameters:
message - exception message

JAXRPCException

public JAXRPCException(java.lang.Throwable cause)
Constructs a new exception which wraps another exception.
Parameters:
cause - the exception to wrap

JAXRPCException

public JAXRPCException(java.lang.String message,
                       java.lang.Throwable cause)
Contructs a new exception with the specified detail message and wraps another exception.
Parameters:
message - exception message
cause - the exception to wrap
Method Detail

getCause

public java.lang.Throwable getCause()
Returns the exception wrapped by this JAXRPCException
Returns:
exception or null if none.


Copyright © 2001 Apache XML Project. All Rights Reserved.