Re:Correct use of exceptions  
Author Message
no name





PostPosted: 2006-2-17 17:20:00 Top

java-programmer, Re:Correct use of exceptions When we talk about exception, it means that in some situation which we think
that it should works this way, but it isn't. For example, when we write
something to connect to remote SMTP server, we assume that the remote server
should be available but actually it is down... In this case, the exception
happened... So we need the exception handling to show our error message to
user and log the error.

Hope this helps!


Guoqi Zheng

http://www.big8reader.com