net.refractions.udig.ui
Class ErrorManager

java.lang.Object
  extended by net.refractions.udig.ui.ErrorManager

public class ErrorManager
extends java.lang.Object

Provides a consistent way to handle error notifications.

Since:
1.1.0
Author:
chorner

Method Summary
 void displayError(java.lang.String title, java.lang.String message)
           
 void displayException(java.lang.Throwable exception, java.lang.String message, java.lang.String pluginID)
           
 void displayExceptions(java.util.List<java.lang.Throwable> exceptions, java.lang.String message, java.lang.String pluginID)
           
static ErrorManager get()
          Returns the singleton instance
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

get

public static ErrorManager get()
Returns the singleton instance

Returns:
the singleton instance

displayError

public void displayError(java.lang.String title,
                         java.lang.String message)

displayException

public void displayException(java.lang.Throwable exception,
                             java.lang.String message,
                             java.lang.String pluginID)

displayExceptions

public void displayExceptions(java.util.List<java.lang.Throwable> exceptions,
                              java.lang.String message,
                              java.lang.String pluginID)