/** * Converts a flattened list of texts including the stack trace and the stack * traces of the nested causes into a {@link Throwable} object. * @param details a flattened list of texts including the stack trace and the stack * traces of the nested causes * @return a {@link Throwable} object */ public static Throwable toCause(List<String> details) { return toStackTrace(details, null, 0); }
ex.initCause(toStackTrace(details, trace, index));
/** * Converts a flattened list of texts including the stack trace and the stack * traces of the nested causes into a {@link Throwable} object. * @param details a flattened list of texts including the stack trace and the stack * traces of the nested causes * @return a {@link Throwable} object */ public static Throwable toCause(List<String> details) { return toStackTrace(details, null, 0); }
/** * Converts a flattened list of texts including the stack trace and the stack * traces of the nested causes into a {@link Throwable} object. * @param details a flattened list of texts including the stack trace and the stack * traces of the nested causes * @return a {@link Throwable} object */ public static Throwable toCause(List<String> details) { return toStackTrace(details, null, 0); }
/** * Converts a flattened list of texts including the stack trace and the stack * traces of the nested causes into a {@link Throwable} object. * @param details a flattened list of texts including the stack trace and the stack * traces of the nested causes * @return a {@link Throwable} object */ public static Throwable toCause(List<String> details) { return toStackTrace(details, null, 0); }
/** * Converts a flattened list of texts including the stack trace and the stack * traces of the nested causes into a {@link Throwable} object. * @param details a flattened list of texts including the stack trace and the stack * traces of the nested causes * @return a {@link Throwable} object */ public static Throwable toCause(List<String> details) { return toStackTrace(details, null, 0); }
/** * Converts a flattened list of texts including the stack trace and the stack * traces of the nested causes into a {@link Throwable} object. * @param details a flattened list of texts including the stack trace and the stack * traces of the nested causes * @return a {@link Throwable} object */ public static Throwable toCause(List<String> details) { return toStackTrace(details, null, 0); }
ex.initCause(toStackTrace(details, trace, index));
ex.initCause(toStackTrace(details, trace, index));
ex.initCause(toStackTrace(details, trace, index));
ex.initCause(toStackTrace(details, trace, index));
ex.initCause(toStackTrace(details, trace, index));