public static void log(Throwable e) {
   log(
       new Status(
           IStatus.ERROR,
           getPluginId(),
           INTERNAL_ERROR,
           CompareMessages.ComparePlugin_internal_error,
           e));
 }
 public static void logErrorMessage(String message) {
   if (message == null) message = ""; // $NON-NLS-1$
   log(new Status(IStatus.ERROR, getPluginId(), INTERNAL_ERROR, message, null));
 }