Nengo.ca

ca.nengo.config.ui
Class ConfigExceptionHandler

java.lang.Object
  extended by ca.nengo.config.ui.ConfigExceptionHandler

public class ConfigExceptionHandler
extends java.lang.Object

Handles UI-generated exceptions consistently.


Field Summary
static java.lang.String DEFAULT_BUG_MESSAGE
          Show this message if a better one isn't defined
 
Constructor Summary
ConfigExceptionHandler()
           
 
Method Summary
static void handle(java.lang.Exception e, java.lang.String userMessage, java.awt.Component parentComponent)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

DEFAULT_BUG_MESSAGE

public static java.lang.String DEFAULT_BUG_MESSAGE
Show this message if a better one isn't defined

Constructor Detail

ConfigExceptionHandler

public ConfigExceptionHandler()
Method Detail

handle

public static void handle(java.lang.Exception e,
                          java.lang.String userMessage,
                          java.awt.Component parentComponent)
Parameters:
e - Exeption to handle
userMessage - A message that can be shown to the user
parentComponent - UI component to which exception is related (can be null)

Nengo.ca