T - the type of the return valuepublic class MarshalledInvocationResult<T> extends Object implements Serializable
Class containing invocation result
Copyright 2010 (C) by Martin Ganserer
| Constructor and Description |
|---|
MarshalledInvocationResult(T returnValue)
Constructor
|
MarshalledInvocationResult(Throwable throwable)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
Throwable |
getException() |
T |
getReturnValue()
Returns the invocations result.
|
boolean |
hasException() |
public MarshalledInvocationResult(T returnValue)
returnValue - public MarshalledInvocationResult(Throwable throwable)
throwable - public T getReturnValue() throws Throwable
Throwable - if the remote method has thrown an exceptionpublic boolean hasException()
public Throwable getException()
nullCopyright © 2015. All rights reserved.