javax.xml.rpc
Class JAXRPCException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--java.lang.RuntimeException
                    |
                    +--javax.xml.rpc.JAXRPCException

public class JAXRPCException
extends RuntimeException

The javax.xml.rpc.JAXRPCException is thrown from the core APIs to indicate exceptions related to the JAX-RPC runtime mechanisms.

In the case a SOAP fault that maps to java.rmi.RemoteException or a sub-class, a JAXRPCException is thrown by the Operation method invoke. The getLinkedCause method of JAXRPCException is used by the stub to retrieve the generated exception. The stub must then re-throw the linked exception (the cause) to the application.

See RemoteException.

Since:
JDE 4.3.0

Constructor Summary
JAXRPCException()
          Constructs a JAXRPCException object with no argument.
JAXRPCException(String message)
          Constructs a JAXRPCException object given a detail message.
JAXRPCException(String message, Throwable cause)
          Constructs a JAXRPCException object given a detail message and a cause.
JAXRPCException(Throwable cause)
          Constructs a JAXRPCException object given a cause.
 
Method Summary
 Throwable getLinkedCause()
          Gets the Linked cause.
 
Methods inherited from class java.lang.Throwable
getMessage, printStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JAXRPCException

public JAXRPCException()
Constructs a JAXRPCException object with no argument.
Since:
JDE 4.3.0

JAXRPCException

public JAXRPCException(String message)
Constructs a JAXRPCException object given a detail message.
Parameters:
message - The detail message.
Since:
JDE 4.3.0

JAXRPCException

public JAXRPCException(String message,
                       Throwable cause)
Constructs a JAXRPCException object given a detail message and a cause.
Parameters:
message - The detail message.
cause - The cause.
Since:
JDE 4.3.0

JAXRPCException

public JAXRPCException(Throwable cause)
Constructs a JAXRPCException object given a cause. The detail message is derived from the string representation of the cause, or null if the cause is null.
Parameters:
cause - The cause.
Since:
JDE 4.3.0
Method Detail

getLinkedCause

public Throwable getLinkedCause()
Gets the Linked cause.
Returns:
The cause of this JAXRPCException.
Since:
JDE 4.3.0



Copyright 1999-2009 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Copyright 1993-2003 Sun Microsystems, Inc. 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
Copyright 2002-2003 Nokia Corporation All Rights Reserved.
Java is a trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.