Package com.jogamp.common.util
Class InterruptedRuntimeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
com.jogamp.common.JogampRuntimeException
com.jogamp.common.util.InterruptedRuntimeException
- All Implemented Interfaces:
Serializable
Unchecked exception propagating an
InterruptedException
where handling of the latter is not desired.
InterruptedRuntimeException may be thrown either by waiting for any Runnable
to be completed, or during its execution.
The propagated InterruptedException may be of type SourcedInterruptedException.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionConstructor attempts towrapthe givenInterruptedExceptioncauseinto aSourcedInterruptedException.InterruptedRuntimeException(String message, InterruptedException cause) Constructor attempts towrapthe givenInterruptedExceptioncauseinto aSourcedInterruptedException. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
InterruptedRuntimeException
Constructor attempts towrapthe givenInterruptedExceptioncauseinto aSourcedInterruptedException.- Parameters:
message- the message of this exceptioncause- the propagatedInterruptedException
-
InterruptedRuntimeException
Constructor attempts towrapthe givenInterruptedExceptioncauseinto aSourcedInterruptedException.- Parameters:
cause- the propagatedInterruptedException
-
-
Method Details
-
getCause
Returns the propagatedInterruptedException, i.e. the cause of this exception.
-