public final class RunResult<T> extends Result<T>
Modifier | Constructor and Description |
---|---|
protected |
RunResult() |
|
RunResult(BaseActionRunnable<T> action) |
Modifier and Type | Method and Description |
---|---|
T |
getResultObject() |
java.lang.Throwable |
getThrowable() |
boolean |
hasException() |
RunResult |
logException(Logger logger) |
RunResult<T> |
run() |
void |
setThrowable(java.lang.Exception throwable) |
RunResult<T> |
throwException() |
protected RunResult()
public RunResult(BaseActionRunnable<T> action)
public T getResultObject()
public RunResult<T> throwException() throws java.lang.RuntimeException, java.lang.Error
java.lang.RuntimeException
java.lang.Error
public boolean hasException()
public java.lang.Throwable getThrowable()
public void setThrowable(java.lang.Exception throwable)