public class InterruptedRuntimeException extends JogampRuntimeException
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
.
Constructor and Description |
---|
InterruptedRuntimeException(InterruptedException cause)
Constructor attempts to
wrap
the given InterruptedException cause into a SourcedInterruptedException . |
InterruptedRuntimeException(String message,
InterruptedException cause)
Constructor attempts to
wrap
the given InterruptedException cause into a SourcedInterruptedException . |
Modifier and Type | Method and Description |
---|---|
InterruptedException |
getCause()
Returns the propagated
InterruptedException , i.e. |
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public InterruptedRuntimeException(String message, InterruptedException cause)
wrap
the given InterruptedException
cause
into a SourcedInterruptedException
.message
- the message of this exceptioncause
- the propagated InterruptedException
public InterruptedRuntimeException(InterruptedException cause)
wrap
the given InterruptedException
cause
into a SourcedInterruptedException
.cause
- the propagated InterruptedException
public InterruptedException getCause()
InterruptedException
, i.e. the cause of this exception.