示例#1
0
 /**
  * Logs an internal error with the specified throwable
  *
  * @param e the exception to be logged
  */
 public static void log(Throwable e) {
   log(
       new Status(
           IStatus.ERROR,
           getUniqueIdentifier(),
           INTERNAL_ERROR,
           "Internal Error",
           e)); //$NON-NLS-1$
 }
示例#2
0
 /**
  * Log internal error
  *
  * @param string - error message
  */
 public static void log(String string) {
   log(new Status(IStatus.ERROR, getUniqueIdentifier(), string));
 }