[Webinar] Streamline your web hosting managementRegister Today

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 230
  • Last Modified:

Handling Runtime Exceptions

HI All,

This  question is specially for servlet development.

Actually i need to prevent my servlet from the runtime exceptions like out of memory, etc.,

If any exceptions arises at runtime like the above situation how do i handle it

Thanks,
G Ramesh
0
rameshg21
Asked:
rameshg21
1 Solution
 
shaveriCommented:
Use the Java's try and catch
0
 
sen_kumCommented:
try to catch throwable

try
{
 // statements
}
catch( Throwable t )
{

}
0

Featured Post

Never miss a deadline with monday.com

The revolutionary project management tool is here!   Plan visually with a single glance and make sure your projects get done.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now