Arming ourselves to the teeth!

  • 14
  • Locked
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 "*********
You can't complete this task, because you're not signed in.
Comments (1)
  • Popular
  • New
  • Old
You must be signed in to leave a comment
Jurij Thmsn
Level 29 , Flensburg, Germany
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.