public static int indexOfThrowable(Throwable throwable, Class type) { return indexOfThrowable(throwable, type, 0);
public static int indexOfThrowable(Throwable throwable, Class clazz) { return indexOf(throwable, clazz, 0, false);
    public static int indexOfThrowable(Throwable throwable, Class type) {        return indexOfThrowable(throwable, type, 0);    }