1
0
Fork 0
mirror of https://github.com/eclipse-cdt/cdt synced 2025-04-29 19:45:01 +02:00

Added logError method.

This commit is contained in:
Sergey Prigogin 2011-04-10 23:42:43 +00:00
parent aa1054f470
commit 985b3ca34e

View file

@ -320,10 +320,16 @@ public class CUIPlugin extends AbstractUIPlugin {
getDefault().getLog().log(status);
}
public void logErrorMessage(String message) {
log(new Status(IStatus.ERROR, getPluginId(), ICStatusConstants.INTERNAL_ERROR, message, null));
/**
* @noreference This method is not intended to be referenced by clients.
*/
public static void logError(String message) {
log(message, null);
}
public void logErrorMessage(String message) {
log(new Status(IStatus.ERROR, PLUGIN_ID, ICStatusConstants.INTERNAL_ERROR, message, null));
}
/**
* Utility method with conventions