Interruption as in throwing InterruptedException ? No, this should not be. You may need to pause the thread itself, but this is not the same. If the virtual machine OutOfMemoryError out of memory, it should throw an OutOfMemoryError instead ...
source share