@Override
    public void error(String message, Throwable e) {
        if (errorMethod != null) {
            try {
                errorMethod.invoke(logger, message, e);
            } catch (Exception e2) {
            }
        } else {
            System.err.println("ERROR " + EasyFlow.class.getName() + " " + message);
            e.printStackTrace();
        }
    }