|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.compomics.util.general.ExceptionHandler
public class ExceptionHandler
Handles exception for a given application.
Constructor Summary | |
---|---|
ExceptionHandler()
Constructor without GUI. |
|
ExceptionHandler(JFrame parent)
Constructor. |
Method Summary | |
---|---|
void |
catchException(Exception e)
Method called whenever an exception is caught. |
static String |
getExceptionType(Exception e)
Returns the exception type. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ExceptionHandler(JFrame parent)
parent
- the parent frame used to display feedbackpublic ExceptionHandler()
Method Detail |
---|
public void catchException(Exception e)
e
- the exception caughtpublic static String getExceptionType(Exception e)
e
- the exception to get the type fro
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |