public interface ErrorReporter
Report to the display and permanent storage.| Modifier and Type | Method and Description |
|---|---|
void |
reportDebug(java.lang.Object sender,
Report.ReportBuilder builder)
Prints a debug message from the current sender.
|
void |
reportDebug(java.lang.Object sender,
Report report)
Prints a debug message from the current sender.
|
void |
reportDetailed(java.lang.Object sender,
Report.ReportBuilder reportBuilder)
Prints a detailed error report about an unhandled exception.
|
void |
reportDetailed(java.lang.Object sender,
Report report)
Prints a detailed error report about an unhandled exception.
|
void |
reportMinimal(org.bukkit.plugin.Plugin sender,
java.lang.String methodName,
java.lang.Throwable error)
Prints a small minimal error report regarding an exception from another plugin.
|
void |
reportMinimal(org.bukkit.plugin.Plugin sender,
java.lang.String methodName,
java.lang.Throwable error,
java.lang.Object... parameters)
Prints a small minimal error report regarding an exception from another plugin.
|
void |
reportWarning(java.lang.Object sender,
Report.ReportBuilder reportBuilder)
Prints a warning message from the current plugin.
|
void |
reportWarning(java.lang.Object sender,
Report report)
Prints a warning message from the current plugin.
|
void reportMinimal(org.bukkit.plugin.Plugin sender,
java.lang.String methodName,
java.lang.Throwable error)
sender - - the other plugin.methodName - - name of the caller method.error - - the exception itself.void reportMinimal(org.bukkit.plugin.Plugin sender,
java.lang.String methodName,
java.lang.Throwable error,
java.lang.Object... parameters)
sender - - the other plugin.methodName - - name of the caller method.error - - the exception itself.parameters - - any relevant parameters to print.void reportDebug(java.lang.Object sender,
Report report)
Most users will not see this message.
sender - - the sender.report - - the report.void reportDebug(java.lang.Object sender,
Report.ReportBuilder builder)
sender - - the sender.report - - the report builder.void reportWarning(java.lang.Object sender,
Report report)
sender - - the object containing the caller method.report - - an error report to include.void reportWarning(java.lang.Object sender,
Report.ReportBuilder reportBuilder)
sender - - the object containing the caller method.reportBuilder - - an error report builder that will be used to get the report.void reportDetailed(java.lang.Object sender,
Report report)
sender - - the object containing the caller method.report - - an error report to include.void reportDetailed(java.lang.Object sender,
Report.ReportBuilder reportBuilder)
sender - - the object containing the caller method.reportBuilder - - an error report builder that will be used to get the report.