<?xml version="1.0" encoding="UTF-8"?>











<rss version="2.0" xmlns:jf="http://www.jivesoftware.com/xmlns/jiveforums/rss">



<channel>
    <title>Support Forums: Message List - Effective Java Exceptions</title>
    <link>http://www.theserverside.com</link>
    <description>Most recent forum messages</description>
    <language>en</language>
    
        <generator>Jive Forums Silver 5.5.30 (www.jivesoftware.com)</generator>
    
    <pubDate>Mon, 20 May 2013 13:29:40 -0400</pubDate>


    <item>

        <title>Re: SQLFactory and JDBC exception handling</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[If you are using JDBC, consider using the Spring's JDBC support. Take a look at Spring's <b>JdbcTemplate</b> class. It basically does everything for you leaving you with having to write the SQL query itself, and, if necessary, the mapping method to map a...]]></description>
        

        <pubDate>Mon, 29 Jan 2007 12:50:07 -0500</pubDate>

        

        <jf:creationDate>Mon, 29 Jan 2007 12:50:07 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 29 Jan 2007 12:50:07 -0500</jf:modificationDate>
        <jf:date>Jan 29, 2007</jf:date>
        <jf:author>C0nst@ntine V</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>SQLFactory and JDBC exception handling</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[<blockquote>...]]></description>
        

        <pubDate>Sat, 27 Jan 2007 10:12:33 -0500</pubDate>

        

        <jf:creationDate>Sat, 27 Jan 2007 10:12:33 -0500</jf:creationDate>
        <jf:modificationDate>Sat, 27 Jan 2007 10:12:33 -0500</jf:modificationDate>
        <jf:date>Jan 27, 2007</jf:date>
        <jf:author>Gregg Wonderly</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: Improvements to excepttion handling</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[<blockquote>I feel one of the reasons people tend to do a 'catch Exception' is because it is often the simplest way to have a contigency for any type of exception ,thought I do agree its not the most elegant way . I feel  no language so far allows you to...]]></description>
        

        <pubDate>Tue, 23 Jan 2007 15:27:29 -0500</pubDate>

        

        <jf:creationDate>Tue, 23 Jan 2007 15:27:29 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 23 Jan 2007 15:27:29 -0500</jf:modificationDate>
        <jf:date>Jan 23, 2007</jf:date>
        <jf:author>C0nst@ntine V</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Improvements to excepttion handling</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[I feel one of the reasons people tend to do a 'catch Exception' is because it is often the simplest way to have a contigency for any type of exception ,thought I do agree its not the most elegant way . I feel  no language so far allows you to handle...]]></description>
        

        <pubDate>Tue, 23 Jan 2007 13:25:48 -0500</pubDate>

        

        <jf:creationDate>Tue, 23 Jan 2007 13:25:48 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 23 Jan 2007 13:25:48 -0500</jf:modificationDate>
        <jf:date>Jan 23, 2007</jf:date>
        <jf:author>Vinod Kumar</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: Effective Java Exceptions</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[<blockquote>.....<br>Finally, look at Sun's EJB3!!! Wow! No checked exceptions there! A silent admission of the mistake? But how many "average" programmers have noticed? There’s nothing wrong with making mistakes, and no one has ever claimed that Java...]]></description>
        

        <pubDate>Wed, 17 Jan 2007 12:37:02 -0500</pubDate>

        

        <jf:creationDate>Wed, 17 Jan 2007 12:37:02 -0500</jf:creationDate>
        <jf:modificationDate>Wed, 17 Jan 2007 12:37:02 -0500</jf:modificationDate>
        <jf:date>Jan 17, 2007</jf:date>
        <jf:author>Bo Zou</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Effective Java Exceptions</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[People who defend checked exceptions claim that they should represent recoverable errors. Fine. Except for one thing: whether the particular error in a particular application is recoverable or not is defined by the business requirements of that...]]></description>
        

        <pubDate>Tue, 16 Jan 2007 16:36:23 -0500</pubDate>

        

        <jf:creationDate>Tue, 16 Jan 2007 16:36:23 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 16 Jan 2007 16:36:23 -0500</jf:modificationDate>
        <jf:date>Jan 16, 2007</jf:date>
        <jf:author>C0nst@ntine V</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Re: Exceptions versus Compiler Warnings</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[That was not what I meant.  My point was that which exceptions you want to deal with depends on your project as much as anything else.  The same way you pick and choose what compiler warnings you pay attention to you also want to pick and choose which...]]></description>
        

        <pubDate>Tue, 16 Jan 2007 12:56:53 -0500</pubDate>

        

        <jf:creationDate>Tue, 16 Jan 2007 12:56:53 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 16 Jan 2007 12:56:53 -0500</jf:modificationDate>
        <jf:date>Jan 16, 2007</jf:date>
        <jf:author>Knut Forkalsrud</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>&quot;Design by contract&quot; helps for checked/unchecked decision</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[Another good help to choose what exception type (checked/unchecked) is appropriate, is to use the "Design by contract" (DBC) pattern. It defines "preconditions" the user of a method must adhere to fulfill the "contract"....]]></description>
        

        <pubDate>Tue, 16 Jan 2007 06:40:36 -0500</pubDate>

        

        <jf:creationDate>Tue, 16 Jan 2007 06:40:36 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 16 Jan 2007 06:40:36 -0500</jf:modificationDate>
        <jf:date>Jan 16, 2007</jf:date>
        <jf:author>Michael Schnell</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: A better way - jdbc - closing everything</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[<blockquote>I have done this before, then found that not all JDBC drivers are the same. Some close all dependent objects when the connection closes and some don't, causing major headaches. I now handle everything explicitly (or would do if I was still...]]></description>
        

        <pubDate>Tue, 16 Jan 2007 06:03:15 -0500</pubDate>

        

        <jf:creationDate>Tue, 16 Jan 2007 06:03:15 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 16 Jan 2007 06:03:15 -0500</jf:modificationDate>
        <jf:date>Jan 16, 2007</jf:date>
        <jf:author>Tamas Cserveny</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Ruzek vs. Spring</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[Barry Ruzek writes:...]]></description>
        

        <pubDate>Tue, 16 Jan 2007 05:51:09 -0500</pubDate>

        

        <jf:creationDate>Tue, 16 Jan 2007 05:51:09 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 16 Jan 2007 05:51:09 -0500</jf:modificationDate>
        <jf:date>Jan 16, 2007</jf:date>
        <jf:author>Casual Visitor</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: A better way - jdbc - closing everything</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[<blockquote>A long time ago, I write a JDBC helper class that is used as follows.<br><br><br>DatabaseManager mgr = SQLFactory.getConnection(...);<br>try {<br>    String sql = "...";<br>    ResultSet rs = mgr.executeQuery( sql );<br>    while( rs.next()...]]></description>
        

        <pubDate>Tue, 16 Jan 2007 05:50:05 -0500</pubDate>

        

        <jf:creationDate>Tue, 16 Jan 2007 05:50:05 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 16 Jan 2007 05:50:05 -0500</jf:modificationDate>
        <jf:date>Jan 16, 2007</jf:date>
        <jf:author>Kit Davies</jf:author>
        <jf:replyCount>3</jf:replyCount>
    </item>


    <item>

        <title>Re: fault or contingency</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[<blockquote>Confused? Read <a href="http://jroller.com/page/hackingarchitect">Declared Unchecked Exception: The Best of Both Worlds</a></blockquote>
rather the <b>Worst</b> of Both Worlds!]]></description>
        

        <pubDate>Tue, 16 Jan 2007 05:29:17 -0500</pubDate>

        

        <jf:creationDate>Tue, 16 Jan 2007 05:29:17 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 16 Jan 2007 05:29:17 -0500</jf:modificationDate>
        <jf:date>Jan 16, 2007</jf:date>
        <jf:author>Casual Visitor</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: My personal bitch exceptions complaint</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[<blockquote><blockquote>You can't access those for a reason. It could lead to undefined state.<br><br>try {<br>   String a = getA();<br><br>} catch (CannotCreateAException e) {<br>   // What should be the value of A...]]></description>
        

        <pubDate>Tue, 16 Jan 2007 04:15:11 -0500</pubDate>

        

        <jf:creationDate>Tue, 16 Jan 2007 04:15:11 -0500</jf:creationDate>
        <jf:modificationDate>Tue, 16 Jan 2007 04:15:11 -0500</jf:modificationDate>
        <jf:date>Jan 16, 2007</jf:date>
        <jf:author>Tamas Cserveny</jf:author>
        <jf:replyCount>0</jf:replyCount>
    </item>


    <item>

        <title>Re: Exceptions versus Compiler Warnings</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[<blockquote>If you're writing aircraft control systems you want to enforce your own code and all library code you use to explicitly deal with all possible error scenarios.  That includes managing programmer bugs at runtime.  Other times you want the code...]]></description>
        

        <pubDate>Mon, 15 Jan 2007 21:12:36 -0500</pubDate>

        

        <jf:creationDate>Mon, 15 Jan 2007 21:12:36 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 15 Jan 2007 21:12:36 -0500</jf:modificationDate>
        <jf:date>Jan 15, 2007</jf:date>
        <jf:author>James Watson</jf:author>
        <jf:replyCount>1</jf:replyCount>
    </item>


    <item>

        <title>Exceptions versus Compiler Warnings</title>
        <link>http://www.theserverside.com/discussions/thread.tss?thread_id=43820</link>

        

        
            <description><![CDATA[Often I get the feeling that the justification for checked exceptions is the same as the justification for paying attention to compiler warnings.  Depending on the project you may want to ignore or be completely anal about it....]]></description>
        

        <pubDate>Mon, 15 Jan 2007 19:22:04 -0500</pubDate>

        

        <jf:creationDate>Mon, 15 Jan 2007 19:22:04 -0500</jf:creationDate>
        <jf:modificationDate>Mon, 15 Jan 2007 19:22:04 -0500</jf:modificationDate>
        <jf:date>Jan 15, 2007</jf:date>
        <jf:author>Knut Forkalsrud</jf:author>
        <jf:replyCount>2</jf:replyCount>
    </item>



</channel>
</rss>

