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!
- 14
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Jurij Thmsn
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.
+2