public static void handleException()

in src/main/java/org/apache/commons/exec/util/DebugUtils.java [42:53]


    public static void handleException(final String msg, final Exception e) {
        if (isDebugEnabled()) {
            System.err.println(msg);
            e.printStackTrace();
        }
        if (!isLenientEnabled()) {
            if (e instanceof RuntimeException) {
                throw (RuntimeException) e;
            }
            throw new RuntimeException(e);
        }
    }