com.compomics.util.general
Class ExceptionHandler

java.lang.Object
  extended by com.compomics.util.general.ExceptionHandler

public class ExceptionHandler
extends java.lang.Object

Handles exception for a given application.

Author:
Marc Vaudel

Constructor Summary
ExceptionHandler(javax.swing.JFrame parent)
          Constructor.
 
Method Summary
 void catchException(java.lang.Exception e)
          Method called whenever an exception is caught.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ExceptionHandler

public ExceptionHandler(javax.swing.JFrame parent)
Constructor.

Parameters:
parent - the parent frame used to display feedback
Method Detail

catchException

public void catchException(java.lang.Exception e)
Method called whenever an exception is caught.

Parameters:
e - the exception caught


Copyright © 2013. All Rights Reserved.