Package de.richtercloud.message.handler
Class DialogBugHandler
- java.lang.Object
-
- de.richtercloud.message.handler.DialogBugHandler
-
- All Implemented Interfaces:
BugHandler
public class DialogBugHandler extends Object implements BugHandler
- Author:
- richter
-
-
Constructor Summary
Constructors Constructor Description DialogBugHandler(Window parent, String bugReportingURL)DialogBugHandler(Window parent, String bugReportingURL, int textWidth)DialogBugHandler(Window parent, String bugReportingURL, int textWidth, String titlePrefix, String titleSuffix)DialogBugHandler(Window parent, String bugReportingURL, String titlePrefix, String titleSuffix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandleUnexpectedException(ExceptionMessage message)Handles an unexpected exception message which needs to be defined by the implementation.voidshutdown()Closes eventually opened resources (network connection for upload of exception stacktraces, etc.).
-
-
-
Method Detail
-
handleUnexpectedException
public void handleUnexpectedException(ExceptionMessage message)
Description copied from interface:BugHandlerHandles an unexpected exception message which needs to be defined by the implementation. This is different fromBugHandler.handleUnexpectedException(de.richtercloud.message.handler.ExceptionMessage)in the way that it should encourage the user to file a bug or confirm that the bug is automatically filed (again dependening on the implementation).- Specified by:
handleUnexpectedExceptionin interfaceBugHandler- Parameters:
message- the message to handle
-
shutdown
public void shutdown()
Description copied from interface:BugHandlerCloses eventually opened resources (network connection for upload of exception stacktraces, etc.).- Specified by:
shutdownin interfaceBugHandler
-
-