jaulib v1.3.0
Jau Support Library (C++, Java, ..)
Public Member Functions | List of all members
org.jau.lang.InterruptedRuntimeException Class Reference

Unchecked exception propagating an InterruptedException where handling of the latter is not desired. More...

Inheritance diagram for org.jau.lang.InterruptedRuntimeException:
Collaboration diagram for org.jau.lang.InterruptedRuntimeException:

Public Member Functions

 InterruptedRuntimeException (final String message, final InterruptedException cause)
 Constructor attempts to wrap the given InterruptedException cause into a SourcedInterruptedException. More...
 
 InterruptedRuntimeException (final InterruptedException cause)
 Constructor attempts to wrap the given InterruptedException cause into a SourcedInterruptedException. More...
 
InterruptedException getCause ()
 Returns the propagated InterruptedException, i.e. More...
 

Detailed Description

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.

Definition at line 43 of file InterruptedRuntimeException.java.

Constructor & Destructor Documentation

◆ InterruptedRuntimeException() [1/2]

org.jau.lang.InterruptedRuntimeException.InterruptedRuntimeException ( final String  message,
final InterruptedException  cause 
)

Constructor attempts to wrap the given InterruptedException cause into a SourcedInterruptedException.

Parameters
messagethe message of this exception
causethe propagated InterruptedException

Definition at line 52 of file InterruptedRuntimeException.java.

Here is the call graph for this function:

◆ InterruptedRuntimeException() [2/2]

org.jau.lang.InterruptedRuntimeException.InterruptedRuntimeException ( final InterruptedException  cause)

Constructor attempts to wrap the given InterruptedException cause into a SourcedInterruptedException.

Parameters
causethe propagated InterruptedException

Definition at line 62 of file InterruptedRuntimeException.java.

Here is the call graph for this function:

Member Function Documentation

◆ getCause()

InterruptedException org.jau.lang.InterruptedRuntimeException.getCause ( )

Returns the propagated InterruptedException, i.e.

the cause of this exception.

Definition at line 73 of file InterruptedRuntimeException.java.


The documentation for this class was generated from the following file: