Package net.algart.contexts
Class InterruptionException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
net.algart.contexts.InterruptionException
- All Implemented Interfaces:
Serializable
Unchecked analog of the standard InterruptedException.
Thrown by InterruptionContext.checkInterruption()
method.
- Author:
- Daniel Alievsky
- See Also:
-
Constructor Summary
ConstructorDescriptionConstructs an instance of this class.InterruptionException
(String message) Constructs an instance of this class with the specified detail message.InterruptionException
(Throwable cause) Constructs an instance of this class with the specified cause. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InterruptionException
public InterruptionException()Constructs an instance of this class. -
InterruptionException
Constructs an instance of this class with the specified detail message.- Parameters:
message
- the detail message.
-
InterruptionException
Constructs an instance of this class with the specified cause.- Parameters:
cause
- the cause of this exception.
-