Exception handler problem.
- From: Serguei.Goumeniouk@xxxxxxx
- Date: 11 Jul 2006 09:23:20 -0700
Dear Experts,
My GUI application sometimes runs out of memory with the message like
the following:
Exception in thread "AWT-EventQueue-0" java.lang.OutOfMemoryError: Java
heap space
I try to catch this exception with:
1) The Thread.UncaughtExceptionHandler
2) try / catch block "around" my main class
but both attempts do not work.
Is there a simple way to catch exceptions in AWT thread?
Regards,
Serguei.
.
- Follow-Ups:
- Re: Exception handler problem.
- From: Oliver Wong
- Re: Exception handler problem.
- From: Brandon McCombs
- Re: Exception handler problem.
- From: IchBin
- Re: Exception handler problem.
- From: andrewthommo
- Re: Exception handler problem.
- Prev by Date: Arrays.sort(s) caused an error
- Next by Date: Re: Arrays.sort(s) caused an error
- Previous by thread: Arrays.sort(s) caused an error
- Next by thread: Re: Exception handler problem.
- Index(es):
Relevant Pages
|
|