code: @SuppressWarnings("unchecked") 
     private static void error(Object o, Throwable t)
     {
        if (logging != null)
        {
           try
           {
              Class<?> clz = logging.getClass();
              Method mError = clz.getMethod("error", Object.class, Throwable.class);
              mError.invoke(logging, new Object[] {o, t});
           }
           catch (Throwable th)
           {
              // Nothing we can do
           }
        }
        else
        {
           if (o != null)
              System.out.println(o.toString());
  
           if (t != null)
              t.printStackTrace(System.out);
        }
     }
docs: Logging: ERROR
  @param o The object
  @param t The throwable