src/main/java/io/reactivex/exceptions/CompositeException.java
Throwable getRootCause(Throwable e) {
        Throwable root = e.getCause();
        if (root == null || e == root) {
            return e;
        }
        while (true) {
            Throwable cause = root.getCause();
            if (cause == null || cause == root) {
                return root;
            }
            root = cause;
        }
    }
Throwable getRootCause(Throwable e) {
        Throwable root = e.getCause();
        if (root == null || e == root) {
            return e;
        }
        while (true) {
            Throwable cause = root.getCause();
            if (cause == null || cause == root) {
                return root;
            }
            root = cause;
        }
    }
Throwable getRootCause ( Throwable e ) { Throwable root = e . getCause ( ) ; if ( root == null || e == root ) { return e ; } while ( true ) { Throwable cause = root . getCause ( ) ; if ( cause == null || cause == root ) { return root ; } root = cause ; } }
/*private
/ * private