Class FrameExceptionHandler
java.lang.Object
com.compomics.util.exceptions.ExceptionHandler
com.compomics.util.exceptions.exception_handlers.FrameExceptionHandler
public class FrameExceptionHandler extends ExceptionHandler
Handles exception for a given application and displays warnings using
dialogs.
- Author:
- Marc Vaudel
-
Field Summary
Fields inherited from class com.compomics.util.exceptions.ExceptionHandler
exceptionCaught, ignoreExceptions
-
Constructor Summary
Constructors Constructor Description FrameExceptionHandler()
Empty default constructorFrameExceptionHandler(JFrame parent, String toolIssuesPage)
Constructor. -
Method Summary
Modifier and Type Method Description void
notifyUser(Exception e)
Notifies the user that an exception was caught.Methods inherited from class com.compomics.util.exceptions.ExceptionHandler
catchException, getExceptionType, setIgnoreExceptions
-
Constructor Details
-
FrameExceptionHandler
public FrameExceptionHandler()Empty default constructor -
FrameExceptionHandler
Constructor.- Parameters:
parent
- the parent frame used to display feedbacktoolIssuesPage
- the tool issues page, e.g., https://github.com/compomics/peptide-shaker/issues
-
-
Method Details
-
notifyUser
Description copied from class:ExceptionHandler
Notifies the user that an exception was caught.- Specified by:
notifyUser
in classExceptionHandler
- Parameters:
e
- the exception to catch
-