Example usage for Java org.springframework.remoting.support RemoteInvocationResult fields, constructors, methods, implement or subclass
The text is from its open source code.
RemoteInvocationResult(@Nullable Object value) Create a new RemoteInvocationResult for the given result value. | |
RemoteInvocationResult(@Nullable Throwable exception) Create a new RemoteInvocationResult for the given exception. |
Throwable | getException() Return the exception thrown by an unsuccessful invocation of the target method, if any. |
Object | getValue() Return the result value returned by a successful invocation of the target method, if any. |
Object | recreate() Recreate the invocation result, either returning the result value in case of a successful invocation of the target method, or rethrowing the exception thrown by the target method. |