public interface Result
Modifier and Type | Method and Description |
---|---|
void |
setException(Exception exception)
Set encountered exception.
|
void |
setResult(Object result)
Set computed result.
|
void setResult(@NullAllowed Object result)
result
- The result.void setException(Exception exception)
exception
- The exception.