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


Reply via email to