Tabnine Logo
ConsolePlugin.newErrorStatus
Code IndexAdd Tabnine to your IDE (free)

How to use
newErrorStatus
method
in
org.eclipse.ui.console.ConsolePlugin

Best Java code snippets using org.eclipse.ui.console.ConsolePlugin.newErrorStatus (Showing top 2 results out of 315)

origin: org.eclipse.scout.sdk.deps/org.eclipse.ui.console

/**
 * Logs the specified throwable with this plug-in's log.
 *
 * @param t throwable to log
 */
public static void log(Throwable t) {
  if (t instanceof CoreException) {
    log(((CoreException)t).getStatus());
  } else {
    log(newErrorStatus("Error logged from Console plug-in: ", t)); //$NON-NLS-1$
  }
}
origin: org.eclipse/org.eclipse.ui.console

/**
 * Logs the specified throwable with this plug-in's log.
 * 
 * @param t throwable to log 
 */
public static void log(Throwable t) {
  if (t instanceof CoreException) {
    log(((CoreException)t).getStatus());
  } else {
    log(newErrorStatus("Error logged from Console plug-in: ", t)); //$NON-NLS-1$
  }
}

org.eclipse.ui.consoleConsolePluginnewErrorStatus

Javadoc

Returns a new error status for this plug-in with the given message

Popular methods of ConsolePlugin

  • getConsoleManager
    Returns the console manager. The manager will be created lazily on the first access.
  • getDefault
    Returns the singleton instance of the console plug-in.
  • getStandardDisplay
    Returns the workbench display.
  • errorDialog
    Utility method with conventions
  • getLog
  • getUniqueIdentifier
    Convenience method which returns the unique identifier of this plug-in.
  • log
    Logs the specified status with this plug-in's log.
  • getPreferenceStore

Popular in Java

  • Making http requests using okhttp
  • onRequestPermissionsResult (Fragment)
  • runOnUiThread (Activity)
  • findViewById (Activity)
  • Rectangle (java.awt)
    A Rectangle specifies an area in a coordinate space that is enclosed by the Rectangle object's top-
  • HttpURLConnection (java.net)
    An URLConnection for HTTP (RFC 2616 [http://tools.ietf.org/html/rfc2616]) used to send and receive d
  • Collection (java.util)
    Collection is the root of the collection hierarchy. It defines operations on data collections and t
  • Reference (javax.naming)
  • HttpServlet (javax.servlet.http)
    Provides an abstract class to be subclassed to create an HTTP servlet suitable for a Web site. A sub
  • JComboBox (javax.swing)
  • Top 12 Jupyter Notebook extensions
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now