Menu

#21 Show something when a GUI app crashes

Future
open
None
5
2015-05-09
2006-03-26
No

If a GUI application terminates with an unhandled
exception, it is just imediatelly closed. It doesn't
say that "Hey, I have crashed!" or anything or
anything, it just suddenly vanishes. Very confusing for
the user. I guess this is because Sun's javaw is an
trash (not Launch4J). Still, it would be nice if
Launch4j provides a workaround by optionally popping up
an error box if javaw terminates because of unhandled
exception. It would be even better if it can show the
stack trace in a scrollable edit box. If it is possible
somehow...

Discussion

  • Grzegorz Kowal

    Grzegorz Kowal - 2006-03-27
    • assigned_to: nobody --> grzegok
     
  • Grzegorz Kowal

    Grzegorz Kowal - 2006-03-27

    Logged In: YES
    user_id=917657

    I use a hack that solves the problem, but never thought
    about integrating it with Launch4j. I'll see what can be done.

    Grzegorz

     
  • Vincent van Beveren

    Logged In: YES
    user_id=588545

    There is such a thing as a unhandled exception handler in
    Java, why not use that? The only problem which you can't
    handle with Java is an actual VM crash.

     
  • hilt2

    hilt2 - 2010-03-27
     
  • Grzegorz Kowal

    Grzegorz Kowal - 2015-05-09
    • Group: --> Future
     

Log in to post a comment.