public static RuntimeException unchecked(Exception e) {
        if (e instanceof RuntimeException) {
            return (RuntimeException) e;
        } else {
            return new RuntimeException(e);
        }
    }
public static RuntimeException unchecked(Exception e) {
        if (e instanceof RuntimeException) {
            return (RuntimeException) e;
        } else {
            return new RuntimeException(e);
        }
    }
public static RuntimeException unchecked ( Exception e ) { if ( e instanceof RuntimeException ) { return ( RuntimeException ) e ; } else { return new RuntimeException ( e ) ; } }
将CheckedException转换为UncheckedException.
将CheckedException转换为UncheckedException .