public interface ErrorReporter
Modifier and Type | Method and Description |
---|---|
void |
reportDetailed(java.lang.Object sender,
java.lang.String message,
java.lang.Throwable error,
java.lang.Object... parameters)
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 about an exception from another plugin.
|
void |
reportWarning(java.lang.Object sender,
java.lang.String message)
Prints a warning message from the current plugin.
|
void |
reportWarning(java.lang.Object sender,
java.lang.String message,
java.lang.Throwable error)
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 reportWarning(java.lang.Object sender, java.lang.String message)
sender
- - the object containing the caller method.message
- - error message.void reportWarning(java.lang.Object sender, java.lang.String message, java.lang.Throwable error)
sender
- - the object containing the caller method.message
- - error message.error
- - the exception that was thrown.void reportDetailed(java.lang.Object sender, java.lang.String message, java.lang.Throwable error, java.lang.Object... parameters)
sender
- - the object containing the caller method.message
- - an error message to include.error
- - the exception that was thrown in the caller method.parameters
- - parameters from the caller method.