Exceptions with string messages and full stack traces might be yet another underrated Java invention.
Does it help? The stack trace at the point where the dialog box is displayed is useless.
Failed to open configuration file
Caused by:
Failed to open path PATH
Error access deniedI think the only button on the dialog box was "Restart".
Error design needs to be its own subject / specialization. Errors need to say what the problem is and how to fix it, in an ideal world, or what the user can do or should google to solve it.
And of course, any error code of any public software should be listed on a website or a locally accessible resource.
Here's an IBM example, for just a single OS facility: https://www.ibm.com/docs/en/SSLTBW_2.4.0/pdf/hasa100_v2r4.pd...
(Realistically I expect that's mainly used for debugging purposes for the Shim authors.)
Or even better, a small library which'd allow bootloader to generate it on the fly.
http://fukuchi.org/works/qrencode/index.html.en
That said, with iPhone cameras supporting live OCR and URL detection, a QR code would be unnecessary.
A URL with specific content is just another thing that now needs to be maintained along with the code and failure modes.
By leaving the reason vague an attacker has no immediate feedback and no clue how to remedy.
I vastly prefer the way this works now.
It's the HN effect. The pool of geniuses here suggests to the reader that the pool of intelligence outside of this microcosm is similar. It's not.
Criminals are overwhelmingly stupid. It's why LEO catches so many of them. Smart people don't tend to do crime, they tend to sell their skills to more legitimate enterprises.