#How to end threads gracefully
1 messages · Page 1 of 1 (latest)
also, forgot to mention, i am calling shutdownnow()
Well yes, since Thread.currentthread.interrupt() is what cause InterruptedThread exception, so you are catching an exception to throw it again
show the code of your tasks please
is the correct way to handle it to just print a message and do nothing else?