javax.xml.rpc
Class JAXRPCException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by 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:
BlackBerry API 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:
BlackBerry API 4.3.0

JAXRPCException

public JAXRPCException(String message)
Constructs a JAXRPCException object given a detail message.

Parameters:
message - The detail message.
Since:
BlackBerry API 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:
BlackBerry API 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:
BlackBerry API 4.3.0


Method Detail

getLinkedCause

public Throwable getLinkedCause()
Gets the Linked cause.

Returns:
The cause of this JAXRPCException.
Since:
BlackBerry API 4.3.0





Copyright 1999-2011 Research In Motion Limited. 295 Phillip Street, Waterloo, Ontario, Canada, N2L 3W8. All Rights Reserved.
Java is a trademark of Oracle America Inc. in the US and other countries.
Legal