April 2017
Intermediate to advanced
594 pages
25h 15m
English
Take into account that the onTermination() method provided by the ForkJoinWorkerThread class is called when a thread finishes normally or throws an exception. The method receives a Throwable object as a parameter. If the parameter takes the null value, the worker thread finishes normally; however, if the parameter takes a value, the thread throws an exception. You have to include the necessary code to process this situation.
Read now
Unlock full access