Class RemoteInvocationUtils
java.lang.Object
org.springframework.amqp.support.converter.RemoteInvocationUtils
General utilities for handling remote invocations.
Mainly intended for use within the remoting framework.
- Since:
- 3.0
- Author:
- Juergen Hoeller
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic void
Fill the current client-side stack trace into the given exception.
-
Constructor Details
-
RemoteInvocationUtils
public RemoteInvocationUtils()
-
-
Method Details
-
fillInClientStackTraceIfPossible
Fill the current client-side stack trace into the given exception.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+.- Parameters:
ex
- the exception to update- See Also:
-