Humboldt Alignment Editor 2.5.0

eu.esdihumboldt.hale.ui.util
Class ExceptionHelper

java.lang.Object
  extended by eu.esdihumboldt.hale.ui.util.ExceptionHelper

public class ExceptionHelper
extends Object

This utility class can be used to transform an Exception to an Alert that is displayed to the use.

Author:
Michel Kraemer, Thorsten Reitz
Partner:
01 / Fraunhofer Institute for Computer Graphics Research

Constructor Summary
ExceptionHelper()
           
 
Method Summary
static void handleException(String message, String pluginId, Throwable t)
          Handles exceptions and displays an error dialog
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHelper

public ExceptionHelper()
Method Detail

handleException

public static void handleException(String message,
                                   String pluginId,
                                   Throwable t)
Handles exceptions and displays an error dialog

Parameters:
message - the message displayed in the error dialog
pluginId - the identifier of the relevant plugin
t - the exception

Humboldt Alignment Editor 2.5.0

Build 2012-12-03_12-30-59
Revision 9d2dd4b0318cda9f1393b1ddd390f7f792d70a2d