Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Invalid
-
2.7.1
-
None
-
None
Description
When an IPC falls, it may goes into a retry process, which sleeps via Thread.sleep() .
If this happens, and the max wait interval is set to 0, then an InterruptedException can trigger in a Thread.sleep() operation. This isn't in the method signatures, so gets wrapped in an UndeclaredThrowable. This isn't an IOE, so all code catching IOEs get confused.
The original exception is also completely lost.
Proposed: InterruptedExceptions in the sleep are caught, trigger throwing of the original exception instead