private void warning(String msg,Throwable th){
  warning(msg);
  th.printStackTrace();
}

private void warning ( String msg , Throwable th ) { warning ( msg ) ; th . printStackTrace ( ) ; }
used internally to log a message about the class at level warning , in case an exception was thrown
