File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Can any child of java.lang.Exception spoil the show Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Can any child of java.lang.Exception spoil the show" Watch "Can any child of java.lang.Exception spoil the show" New topic
Author

Can any child of java.lang.Exception spoil the show

Sandeep Kumar JakkarajuuuX
Greenhorn

Joined: Mar 11, 2009
Posts: 10
Hello All

Say I have a web-app running and some buggy class is throwing exceptions into my logs ...... will it spoil the performance of the application

if it is handled ? what if it is not handled ?

John de Michele
Rancher

Joined: Mar 09, 2009
Posts: 600
I guess it really depends on which exception is being thrown, and how you handle it.

John.
Campbell Ritchie
Sheriff

Joined: Oct 13, 2005
Posts: 36575
    
  16
Welcome back . . .

Exceptions don't spoil "performance;" they stop the thread if they are not handled. As you doubtless know, only RuntimeExceptions and Errors can slip through undetected; checked Exceptions must be thrown or caught (or both). Apart from that I don't understand the question. If the Exceptions are logged, how can they affect your thread? Surely they have to be caught before they are logged?

And less of the !!##@#$, thank you very much!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Can any child of java.lang.Exception spoil the show
 
Similar Threads
Etiquette and standards for interviewees.
Opinion Needed...
post topic button
WA #1.....word association
A Challenge for beginners