Class TryWaitUncheckedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- com.github.phantomthief.concurrent.TryWaitUncheckedException
-
- All Implemented Interfaces:
Serializable
public class TryWaitUncheckedException 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 <K> Map<K,Boolean>cancelAllTimeout(boolean mayInterruptIfRunning)<K> Map<K,CancellationException>getCancel()<K> Map<K,Throwable>getFailed()StringgetMessage()<K,V>
Map<K,V>getSuccess()<K> Map<K,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 <K> Map<K,TimeoutException> getTimeout()
-
getCancel
@Nonnull public <K> Map<K,CancellationException> getCancel()
-
cancelAllTimeout
@Nonnull public <K> Map<K,Boolean> cancelAllTimeout(boolean mayInterruptIfRunning)
-
getMessage
public String getMessage()
- Overrides:
getMessagein classThrowable
-
-