Re: Throwable vs. Exception...

Sean Kelly <[email protected]> Mon, 29 Jul 2002 15:26:31 -0700
Newsgroups gmane.comp.windows.devel.java.general
Message-ID <[email protected]>
It probably didn't hang up.  Instead, the thread that produced the
NoClassDefFoundError and failed to handle it was terminated by the JVM.
Other threads were still running.

> -----Original Message-----
> From: Java Discussion [mailto:[email protected]]On Behalf Of John
> Schultz
> Sent: Monday 29 July 2002 3.20 PM
> To: [email protected]
> Subject: [JAVA] Throwable vs. Exception...
>
>
> I had a program that threw a NoClassDefFoundError and my
> try,catch block was catching Exception instead of Throwable.
>
> I noticed that the program just kind of hung in the main
> method.  When I caught Throwable instead the program
> terminated normally after catching the java.lang.Error.
>
> Where & why did the program hang up before?
>
> _______________________________________________
> John Schultz
> True blue ISFJ
> Systems Architect
> Phone: 713-839-3034
> Office: BMC 4.654A
>
> You can read messages from the JAVA archive, unsubscribe from JAVA,
> or subscribe to other DevelopMentor lists at http://discuss.develop.com.
>

You can read messages from the JAVA archive, unsubscribe from JAVA,
or subscribe to other DevelopMentor lists at http://discuss.develop.com.