|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.intellij.openapi.diagnostic.ErrorReportSubmitter
de.frag.umlplugin.ErrorHandler
public class ErrorHandler
Error report submitter to support bug reports.
Constructor Summary | |
---|---|
ErrorHandler()
|
Method Summary | |
---|---|
java.lang.String |
getReportActionText()
|
com.intellij.openapi.diagnostic.SubmittedReportInfo |
submit(com.intellij.openapi.diagnostic.IdeaLoggingEvent[] events,
java.awt.Component parentComponent)
This method is called whenever fatal error (aka exception) in plugin code had happened and user decided to report this problem to plugin vendor. |
Methods inherited from class com.intellij.openapi.diagnostic.ErrorReportSubmitter |
---|
getPluginDescriptor, setPluginDescriptor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ErrorHandler()
Method Detail |
---|
public java.lang.String getReportActionText()
getReportActionText
in class com.intellij.openapi.diagnostic.ErrorReportSubmitter
public com.intellij.openapi.diagnostic.SubmittedReportInfo submit(com.intellij.openapi.diagnostic.IdeaLoggingEvent[] events, java.awt.Component parentComponent)
submit
in class com.intellij.openapi.diagnostic.ErrorReportSubmitter
events
- sequence of the fatal error descriptors. Fatal errors that happened immediately one after
another most probably caused by first one that happened so it's a common practice to submit
only first one. Array passed is guaranteed to have at least one element.parentComponent
- one usually wants to show up a dialog asking user for additional details and probably
authentication info. parentComponent parameter is passed so dialog that would come up would
be properly aligned with its parent dialog (IDE Fatal Errors).
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |