org.apache.mina.transport.socket.apr.AprIoProcessor

Regards,
Alan

On Jan 19, 2010, at 6:44 AM, Ashish wrote:

Where did u pulled this out from ?

On Tue, Jan 19, 2010 at 8:11 PM, Alan D. Cabrera <l...@toolazydogs.com> 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