Create your own UncaughtExceptionHandler as a local class inside the constructor. The UncaughtExceptionHandler should hide the thread name with asterisks and display a description of the error that occurred. "Thread-0" must be replaced with "********". "Thread-4321" must be replaced with "*********
Arming ourselves to the teeth!
You must be signed in to leave a comment
3 November 2021, 15:39
An example output and a executable test code in the main method would really help with the understanding of this task.