How to continue program execution even after throwing exception?
<p>I have a requirement where in program execution flow should continue even after throwing an exception.</p>

<pre><code>for(DataSource source : dataSources) {
    try {
        //do something with 'source'
    } catch (Exception e) {
    }
}
</code></pre>

<p>If exception is thrown in the first iteration, flow execution is stopped. My requirement is even after throwing exception for the first iteration, other iterations should continue.
Can i write logic in catch block?</p>
