code: public void javacError(String message, Throwable t) {
  		messager.printMessage(Diagnostic.Kind.ERROR, message + (t == null ? "" : (": " + t)));
  		if (t != null) t.printStackTrace();
  	}
docs: Generates an error in the Messager that was used to initialize this HandlerLibrary.