Package de.richtercloud.message.handler
Class DialogIssueHandler
- java.lang.Object
-
- de.richtercloud.message.handler.DialogIssueHandler
-
- All Implemented Interfaces:
BugHandler,IssueHandler,MessageHandler
public class DialogIssueHandler extends Object implements IssueHandler
- Author:
- richter
-
-
Constructor Summary
Constructors Constructor Description DialogIssueHandler(DialogMessageHandler messageHandler, DialogBugHandler bugHandler)DialogIssueHandler(Frame parent, String bugReportingURL)DialogIssueHandler(Frame parent, String bugReportingURL, int textWidth)DialogIssueHandler(Frame parent, String bugReportingURL, int textWidth, String titlePrefix, String titleSuffix)DialogIssueHandler(Frame parent, String bugReportingURL, String titlePrefix, String titleSuffix)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidhandle(Message message)Handles the message which needs to be defined by the implementation.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.).
-
-
-
Constructor Detail
-
DialogIssueHandler
public DialogIssueHandler(DialogMessageHandler messageHandler, DialogBugHandler bugHandler)
-
DialogIssueHandler
public DialogIssueHandler(Frame parent, String bugReportingURL, String titlePrefix, String titleSuffix)
-
-
Method Detail
-
handle
public void handle(Message message)
Description copied from interface:MessageHandlerHandles the message which needs to be defined by the implementation.- Specified by:
handlein interfaceMessageHandler- Parameters:
message- the message to handle
-
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
-
-