public static RuntimeException asRuntimeException ( Exception e ) { if ( e instanceof RuntimeException ) { return ( RuntimeException ) e ; } return UnexpectedMethodInvocationException . triage ( e ) ; }
Convert an Exception to RuntimeException