|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.springframework.remoting.support.RemoteInvocationUtils
public abstract class RemoteInvocationUtils
General utilities for handling remote invocations.
Mainly intended for use within the remoting framework.
| Constructor Summary | |
|---|---|
RemoteInvocationUtils()
|
|
| Method Summary | |
|---|---|
static void |
fillInClientStackTraceIfPossible(java.lang.Throwable ex)
Fill the current client-side stack trace into the given exception. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public RemoteInvocationUtils()
| Method Detail |
|---|
public static void fillInClientStackTraceIfPossible(java.lang.Throwable ex)
The given exception is typically thrown on the server and serialized
as-is, with the client wanting it to contain the client-side portion
of the stack trace as well. What we can do here is to update the
StackTraceElement array with the current client-side stack
trace, provided that we run on JDK 1.4+.
ex - the exception to updateThrowable.getStackTrace(),
Throwable.setStackTrace(StackTraceElement[])
|
Spring Framework | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||