|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
javax.xml.rpc.JAXRPCException
public class JAXRPCException
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.
RemoteException
.
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 |
---|
public JAXRPCException()
JAXRPCException
object with no argument.
public JAXRPCException(String message)
JAXRPCException
object given a detail
message.
message
- The detail message.public JAXRPCException(String message, Throwable cause)
JAXRPCException
object given a detail
message and a cause.
message
- The detail message.cause
- The cause.public JAXRPCException(Throwable cause)
JAXRPCException
object given
a cause. The detail message is derived from the string
representation of the cause, or null
if
the cause is null
.
cause
- The cause.Method Detail |
---|
public Throwable getLinkedCause()
JAXRPCException
.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
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