public class TaskTimeoutException
extends java.util.concurrent.TimeoutException
TimeoutException class that contains a partial result of the task| Modifier and Type | Field and Description |
|---|---|
java.lang.Object |
partial
Partial result of the task
|
| Constructor and Description |
|---|
TaskTimeoutException(java.lang.Exception cause,
java.lang.Object partial)
Creates an exception with the given reason and partial result
|
TaskTimeoutException(java.lang.String message,
java.lang.Object partial)
Creates an exception with the given message and partial result
|
public TaskTimeoutException(java.lang.String message,
java.lang.Object partial)
message - Message to accompany the exceptionpartial - Partial result of the taskpublic TaskTimeoutException(java.lang.Exception cause,
java.lang.Object partial)
cause - Reason for throwing this exceptionpartial - Partial result of the task