1. Create a private MyUncaughtExceptionHandler class that waits half a second when catching an exception,
and then display the secretKey, thread name, and exception message.
Use String.format(...). Example:
super secret key, Thread-0, This is an example.
No idiots
- 14
Locked
Comments (1)
- Popular
- New
- Old
You must be signed in to leave a comment
Dawid Bujnicki Junior Developer
30 September 2021, 14:05
Don't go shortcut on this one - it has to be specifically String.format in this one. printf doesnt validate.
+1