IllegalStateExceptions now propagate the parent exceptions.
Change-Id: I0cfb47c19d4462a04b9a009e72b1df372736cc6f
Signed-off-by: Matthew Khouzam <matthew.khouzam@ericsson.com>
Reviewed-on: https://git.eclipse.org/r/68874
Reviewed-by: Hudson CI
Reviewed-by: Jean-Christian Kouame <jean-christian.kouame@ericsson.com>
return element;
} catch (InterruptedException e) {
Activator.instance().logError("Buffered queue interrupted", e); //$NON-NLS-1$
- throw new IllegalStateException();
+ throw new IllegalStateException(e);
} finally {
fOutputLock.unlock();
}
return checkNotNull(fOutputBuffer.peek());
} catch (InterruptedException e) {
Activator.instance().logError("Buffered queue interrupted", e); //$NON-NLS-1$
- throw new IllegalStateException();
+ throw new IllegalStateException(e);
} finally {
fOutputLock.unlock();
}