Class TryWaitFutureUncheckedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.phantomthief.concurrent.TryWaitFutureUncheckedException
-
- All Implemented Interfaces:
Serializable
public class TryWaitFutureUncheckedException extends RuntimeException
- Author:
- w.vela Created on 2018-06-25.
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<? extends Future<?>,Boolean>cancelAllTimeout(boolean mayInterruptIfRunning)Map<? extends Future<?>,CancellationException>getCancel()Map<? extends Future<?>,Throwable>getFailed()StringgetMessage()<V> Map<? extends Future<V>,V>getSuccess()Map<? extends Future<?>,TimeoutException>getTimeout()-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Method Detail
-
getTimeout
@Nonnull public Map<? extends Future<?>,TimeoutException> getTimeout()
-
getCancel
@Nonnull public Map<? extends Future<?>,CancellationException> getCancel()
-
cancelAllTimeout
@Nonnull public Map<? extends Future<?>,Boolean> cancelAllTimeout(boolean mayInterruptIfRunning)
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-