public static RuntimeException wrap ( Throwable e ) { if ( e instanceof RuntimeException ) { return ( RuntimeException ) e ; } return new RuntimeException ( e ) ; }
Wrap Checked exceptions in runtime exception .