Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

RuntimeException "Max number of attempts reached" is not visible for end user #29

Open
treimers opened this issue Jan 19, 2024 · 0 comments

Comments

@treimers
Copy link

Hello,

we came across a problem with the RuntimeException thrown when maximal number of attempts is reached during initialization.

The exception is thrown in a separate thread during asynchronous initialization. As a result the thread will die and the exception is caught by the JVM. At the end the JVM will print a stack trace to console and terminate the thread.

This behaviour is not feasibly for a GUI application as this error will never find its way to the end user.

I would suggest to offer a new method for registering an UncaughtExceptionHandler (like Thread.UncaughtExceptionHandler). This would allow developers to use their own handler that pops up an exception dialog in their UI.

Thanks and best regards
Thorsten

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant