org.ow2.jonas.lib.execution
Class ExecutionResult<T>
java.lang.Object
org.ow2.jonas.lib.execution.ExecutionResult<T>
- Type Parameters:
T
- result object type.
public class ExecutionResult<T>
- extends Object
Store the result of an IExecution
.
- Author:
- Guillaume Sauthier
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ExecutionResult
public ExecutionResult()
getResult
public T getResult()
- Returns:
- the result
setResult
public void setResult(T result)
- Parameters:
result
- the result to set
getException
public Exception getException()
- Returns:
- the exception
setException
public void setException(Exception exception)
- Parameters:
exception
- the Exception to set
hasException
public boolean hasException()
- Returns:
- true if errors were thrown during the execution.
Copyright © 2010 OW2 Consortium. All Rights Reserved.