Class WaitingDialogExceptionHandler
java.lang.Object
com.compomics.util.exceptions.ExceptionHandler
com.compomics.util.exceptions.exception_handlers.WaitingDialogExceptionHandler
public class WaitingDialogExceptionHandler extends ExceptionHandler
Exception handler for processes making use of a waiting dialog.
- Author:
- Marc Vaudel
-
Field Summary
Fields inherited from class com.compomics.util.exceptions.ExceptionHandler
exceptionCaught, ignoreExceptions
-
Constructor Summary
Constructors Constructor Description WaitingDialogExceptionHandler()
Empty default constructorWaitingDialogExceptionHandler(WaitingDialog waitingDialog)
Constructor.WaitingDialogExceptionHandler(WaitingDialog waitingDialog, String toolIssuesPage)
Constructor. -
Method Summary
Modifier and Type Method Description protected 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
-
WaitingDialogExceptionHandler
public WaitingDialogExceptionHandler()Empty default constructor -
WaitingDialogExceptionHandler
Constructor.- Parameters:
waitingDialog
- the waiting handler used to notify the usertoolIssuesPage
- The tool issues page to refer to
-
WaitingDialogExceptionHandler
Constructor.- Parameters:
waitingDialog
- the waiting handler used to notify the user
-
-
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
-