Where did u pulled this out from ?

On Tue, Jan 19, 2010 at 8:11 PM, Alan D. Cabrera <[email protected]> wrote:
>        try {
>            doSomeStuff();
>        } catch (RuntimeException e) {
>            throw e;
>        } catch (Error e) {
>            throw e;
>        } catch (Exception e) {
>            throw new RuntimeIoException("Failed to create a pollset.", e);
>        } finally {
>           cleanUp();
>        }
>
> What's the point in catching and re-throwing RuntimeException and Error?
>
>
> Regards,
> Alan
>
>
>



-- 
thanks
ashish

Blog: http://www.ashishpaliwal.com/blog
My Photo Galleries: http://www.pbase.com/ashishpaliwal

Reply via email to