public class ExceptionHandler
extends java.lang.Object
Constructor and Description |
---|
ExceptionHandler()
Constructor without GUI.
|
ExceptionHandler(javax.swing.JFrame parent)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
catchException(java.lang.Exception e)
Method called whenever an exception is caught.
|
static java.lang.String |
getExceptionType(java.lang.Exception e)
Returns the exception type.
|
public ExceptionHandler(javax.swing.JFrame parent)
parent
- the parent frame used to display feedbackpublic ExceptionHandler()
public void catchException(java.lang.Exception e)
e
- the exception caughtpublic static java.lang.String getExceptionType(java.lang.Exception e)
e
- the exception to get the type froCopyright © 2013. All Rights Reserved.