As exception and error classes extends throwable, Do we actually use throwable in catch block ? if we do then please tell those cases where this might require.
Thanks in advance.
-
Throwble class (1 messages)
- Posted by: rahul gupta
- Posted on: December 11 2005 08:42 EST
Threaded Messages (1)
- Throwble class by Sowmya Sridhar on December 14 2005 16:20 EST
-
Throwble class[ Go to top ]
- Posted by: Sowmya Sridhar
- Posted on: December 14 2005 16:20 EST
- in response to rahul gupta
Can u do somehting if u have a memory prob on the m/c u are running and the prog gets an OutOfMemoryError? If u want to handle such situations and respond to it - then catch Throwable - but i cant see what is the real use in doing so.