• Post Reply Bookmark Topic Watch Topic
  • New Topic

Java Exceptions crashing or breaking the running application  RSS feed

 
Kalyan kumar gondrala
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
Would you give me some senarios where in 'Java Exceptions crashing or breaking the running application' even after providing cleaner try-catch blocks. I tried in google but couldn't get it.

Thanks in advance,
kalyan.G
 
Stan James
(instanceof Sidekick)
Ranch Hand
Posts: 8791
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this a school question or a work situation?

It might be that the catch clauses only specify the "checked" exception types that are required to compile. Code that does not throw any checked exceptions can still throw unchecked exceptions. Google for "java unchecked exception" and see what you find.
 
Tony Morris
Ranch Hand
Posts: 1608
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
There is also the so-called "lost exception" where an unchecked exception is never caught or declared to be thrown but still occurs.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!