Re: Introspect whether setCharacterEncoding is present..

luca <[email protected]> Tue, 12 Oct 2004 15:50:16 +0200
Newsgroups gmane.comp.java.advanced-servlets
Message-ID <[email protected]>


Nic Ferrier wrote:
>>I am no expert in this field, but I've always heard that Exceptions
>>are for exceptions and not for flow of control (not only is it
>>a problem of style, but also performance, I hear)
> 
> 
> Where did you hear that?
> 

http://www.javapractices.com/Topic19.cjp

There is a misconception  - especially popular among C programmers
migrating to Java  - that exceptions can be used to define ordinary
control flow. This is a misuse of the idea of exceptions, which are
meant only for exceptional conditions.

a search on google will give you many more:

http://www.google.no/search?hl=no&q=java+exceptions+flow+control&meta=

Luca






------------------------ Yahoo! Groups Sponsor --------------------~--> 
$9.95 domain names from Yahoo!. Register anything.
http://us.click.yahoo.com/J8kdrA/y20IAA/yQLSAA/saFolB/TM
--------------------------------------------------------------------~-> 

Before posting a question, try to find your answer here: 
<http://www.egroups.com/links/advanced-servlets>
Announcements should go to: [email protected]
To Post a message, send it to: [email protected]
To Unsubscribe, send a blank message to: [email protected] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/advanced-servlets/

<*> To unsubscribe from this group, send an email to:
    [email protected]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/