org.exolab.jms.net.proxy
Class RemoteInvocationException
java.lang.Object
|
+--java.lang.Throwable
|
+--java.lang.Exception
|
+--java.lang.RuntimeException
|
+--org.exolab.jms.net.proxy.RemoteInvocationException
- All Implemented Interfaces:
- java.io.Serializable
- public class RemoteInvocationException
- extends java.lang.RuntimeException
A RuntimeException
when a remote invocation generates an
exception which is not declared by the caller
- Version:
- $Revision: 1.1 $ $Date: 2004/11/26 01:51:05 $
- Author:
- Tim Anderson
- See Also:
Proxy
, Serialized Form
Method Summary |
java.lang.Throwable |
getTargetException()
Get the thrown target exception |
void |
printStackTrace(java.io.PrintStream stream)
Writes the stack trace of the thrown target exception to the specified
print stream. |
void |
printStackTrace(java.io.PrintWriter writer)
Writes the stack trace of the thrown target exception to the specified
print writer. |
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, toString |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RemoteInvocationException
public RemoteInvocationException()
- Construct a new
RemoteInvocationException
RemoteInvocationException
public RemoteInvocationException(java.lang.String detail)
- Construct a new
RemoteInvocationException
with no target
exception
- Parameters:
detail
- the detail message
RemoteInvocationException
public RemoteInvocationException(java.lang.Throwable target)
- Construct a new
RemoteInvocationException
with a target
exception
- Parameters:
target
- the target exception
RemoteInvocationException
public RemoteInvocationException(java.lang.String detail,
java.lang.Throwable target)
- Construct a new
RemoteInvocationException
with a detail
message and target exception
- Parameters:
detail
- the detail messagetarget
- the target exception
getTargetException
public java.lang.Throwable getTargetException()
- Get the thrown target exception
- Returns:
- the target exception
printStackTrace
public void printStackTrace(java.io.PrintStream stream)
- Writes the stack trace of the thrown target exception to the specified
print stream.
- Overrides:
printStackTrace
in class java.lang.Throwable
- Parameters:
stream
- the stream to write to
printStackTrace
public void printStackTrace(java.io.PrintWriter writer)
- Writes the stack trace of the thrown target exception to the specified
print writer.
- Overrides:
printStackTrace
in class java.lang.Throwable
- Parameters:
writer
- the writer to write to
Copyright © 1999-2007 The OpenJMS Group. All Rights Reserved.