2012-11-04 03:50:58 +01:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
< html lang = "en" >
< head >
2013-05-14 01:29:12 +02:00
<!-- Generated by javadoc (version 1.7.0_21) on Tue May 14 01:28:32 CEST 2013 -->
2012-11-04 03:50:58 +01:00
< title > DetailedErrorReporter< / title >
2013-05-14 01:29:12 +02:00
< meta name = "date" content = "2013-05-14" >
2012-11-04 03:50:58 +01:00
< link rel = "stylesheet" type = "text/css" href = "../../../../stylesheet.css" title = "Style" >
< / head >
< body >
< script type = "text/javascript" > < ! - -
if (location.href.indexOf('is-external=true') == -1) {
parent.document.title="DetailedErrorReporter";
}
//-->
< / script >
< noscript >
< div > JavaScript is disabled on your browser.< / div >
< / noscript >
<!-- ========= START OF TOP NAVBAR ======= -->
< div class = "topNav" > < a name = "navbar_top" >
<!-- -->
< / a > < a href = "#skip-navbar_top" title = "Skip navigation links" > < / a > < a name = "navbar_top_firstrow" >
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../../overview-summary.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/DetailedErrorReporter.html" > Use< / a > < / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../../../../index-files/index-1.html" > Index< / a > < / li >
< li > < a href = "../../../../help-doc.html" > Help< / a > < / li >
< / ul >
< / div >
< div class = "subNav" >
< ul class = "navList" >
2013-05-14 01:29:12 +02:00
< li > < a href = "../../../../com/comphenix/protocol/error/DelegatedErrorReporter.html" title = "class in com.comphenix.protocol.error" > < span class = "strong" > Prev Class< / span > < / a > < / li >
2012-11-04 03:50:58 +01:00
< li > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html" title = "interface in com.comphenix.protocol.error" > < span class = "strong" > Next Class< / span > < / a > < / li >
< / ul >
< ul class = "navList" >
< li > < a href = "../../../../index.html?com/comphenix/protocol/error/DetailedErrorReporter.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "DetailedErrorReporter.html" target = "_top" > No Frames< / a > < / li >
< / ul >
< ul class = "navList" id = "allclasses_navbar_top" >
< li > < a href = "../../../../allclasses-noframe.html" > All Classes< / a > < / li >
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_top");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
< / script >
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > < a href = "#field_summary" > Field< / a > | < / li >
< li > < a href = "#constructor_summary" > Constr< / a > | < / li >
< li > < a href = "#method_summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > < a href = "#field_detail" > Field< / a > | < / li >
< li > < a href = "#constructor_detail" > Constr< / a > | < / li >
< li > < a href = "#method_detail" > Method< / a > < / li >
< / ul >
< / div >
< a name = "skip-navbar_top" >
<!-- -->
< / a > < / div >
<!-- ========= END OF TOP NAVBAR ========= -->
<!-- ======== START OF CLASS DATA ======== -->
< div class = "header" >
< div class = "subTitle" > com.comphenix.protocol.error< / div >
< h2 title = "Class DetailedErrorReporter" class = "title" > Class DetailedErrorReporter< / h2 >
< / div >
< div class = "contentContainer" >
< ul class = "inheritance" >
< li > java.lang.Object< / li >
< li >
< ul class = "inheritance" >
< li > com.comphenix.protocol.error.DetailedErrorReporter< / li >
< / ul >
< / li >
< / ul >
< div class = "description" >
< ul class = "blockList" >
< li class = "blockList" >
< dl >
< dt > All Implemented Interfaces:< / dt >
< dd > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html" title = "interface in com.comphenix.protocol.error" > ErrorReporter< / a > < / dd >
< / dl >
< hr >
< br >
< pre > public class < span class = "strong" > DetailedErrorReporter< / span >
extends java.lang.Object
implements < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html" title = "interface in com.comphenix.protocol.error" > ErrorReporter< / a > < / pre >
< div class = "block" > Internal class used to handle exceptions.< / div >
< dl > < dt > < span class = "strong" > Author:< / span > < / dt >
< dd > Kristian< / dd > < / dl >
< / li >
< / ul >
< / div >
< div class = "summary" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- =========== FIELD SUMMARY =========== -->
< ul class = "blockList" >
< li class = "blockList" > < a name = "field_summary" >
<!-- -->
< / a >
< h3 > Field Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Field Summary table, listing fields, and an explanation" >
< caption > < span > Fields< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
< th class = "colLast" scope = "col" > Field and Description< / th >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#apacheCommonsMissing" > apacheCommonsMissing< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > static int< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#DEFAULT_MAX_ERROR_COUNT" > DEFAULT_MAX_ERROR_COUNT< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > static java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#DEFAULT_PREFIX" > DEFAULT_PREFIX< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > static java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#DEFAULT_SUPPORT_URL" > DEFAULT_SUPPORT_URL< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > static java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#ERROR_PERMISSION" > ERROR_PERMISSION< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected java.util.Map< java.lang.String,java.lang.Object> < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#globalParameters" > globalParameters< / a > < / strong > < / code > < / td >
< / tr >
2012-12-27 17:44:04 +01:00
< tr class = "altColor" >
< td class = "colFirst" > < code > protected java.util.concurrent.atomic.AtomicInteger< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#internalErrorCount" > internalErrorCount< / a > < / strong > < / code > < / td >
< / tr >
2012-11-04 03:50:58 +01:00
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected java.util.logging.Logger< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#logger" > logger< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected int< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#maxErrorCount" > maxErrorCount< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
2013-05-14 01:29:12 +02:00
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#pluginName" > pluginName< / a > < / strong > < / code > < / td >
2012-11-04 03:50:58 +01:00
< / tr >
< tr class = "altColor" >
2013-03-05 17:07:09 +01:00
< td class = "colFirst" > < code > protected java.lang.ref.WeakReference< org.bukkit.plugin.Plugin> < / code > < / td >
2012-11-21 06:29:29 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#pluginReference" > pluginReference< / a > < / strong > < / code > < / td >
< / tr >
< tr class = "rowColor" >
2012-11-04 03:50:58 +01:00
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#prefix" > prefix< / a > < / strong > < / code > < / td >
< / tr >
2012-11-21 06:29:29 +01:00
< tr class = "altColor" >
2013-05-14 01:29:12 +02:00
< td class = "colFirst" > < code > static < a href = "../../../../com/comphenix/protocol/error/ReportType.html" title = "class in com.comphenix.protocol.error" > ReportType< / a > < / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#REPORT_EXCEPTION_COUNT" > REPORT_EXCEPTION_COUNT< / a > < / strong > < / code >
< div class = "block" > Report format for printing the current exception count.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2012-11-04 03:50:58 +01:00
< td class = "colFirst" > < code > static java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#SECOND_LEVEL_PREFIX" > SECOND_LEVEL_PREFIX< / a > < / strong > < / code > < / td >
< / tr >
2013-05-14 01:29:12 +02:00
< tr class = "altColor" >
2012-11-04 03:50:58 +01:00
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#supportURL" > supportURL< / a > < / strong > < / code > < / td >
< / tr >
< / table >
< / li >
< / ul >
<!-- ======== CONSTRUCTOR SUMMARY ======== -->
< ul class = "blockList" >
< li class = "blockList" > < a name = "constructor_summary" >
<!-- -->
< / a >
< h3 > Constructor Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Constructor Summary table, listing constructors, and an explanation" >
< caption > < span > Constructors< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colOne" scope = "col" > Constructor and Description< / th >
< / tr >
< tr class = "altColor" >
2013-03-05 17:07:09 +01:00
< td class = "colOne" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#DetailedErrorReporter(org.bukkit.plugin.Plugin)" > DetailedErrorReporter< / a > < / strong > (org.bukkit.plugin.Plugin plugin)< / code >
2012-11-04 03:50:58 +01:00
< div class = "block" > Create a default error reporting system.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
2013-03-05 17:07:09 +01:00
< td class = "colOne" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#DetailedErrorReporter(org.bukkit.plugin.Plugin, java.lang.String, java.lang.String)" > DetailedErrorReporter< / a > < / strong > (org.bukkit.plugin.Plugin plugin,
2012-11-21 06:29:29 +01:00
java.lang.String prefix,
2012-11-04 03:50:58 +01:00
java.lang.String supportURL)< / code >
< div class = "block" > Create a central error reporting system.< / div >
< / td >
< / tr >
< tr class = "altColor" >
2013-03-05 17:07:09 +01:00
< td class = "colOne" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#DetailedErrorReporter(org.bukkit.plugin.Plugin, java.lang.String, java.lang.String, int, java.util.logging.Logger)" > DetailedErrorReporter< / a > < / strong > (org.bukkit.plugin.Plugin plugin,
2012-11-21 06:29:29 +01:00
java.lang.String prefix,
2012-11-04 03:50:58 +01:00
java.lang.String supportURL,
int maxErrorCount,
java.util.logging.Logger logger)< / code >
< div class = "block" > Create a central error reporting system.< / div >
< / td >
< / tr >
< / table >
< / li >
< / ul >
<!-- ========== METHOD SUMMARY =========== -->
< ul class = "blockList" >
< li class = "blockList" > < a name = "method_summary" >
<!-- -->
< / a >
< h3 > Method Summary< / h3 >
< table class = "overviewSummary" border = "0" cellpadding = "3" cellspacing = "0" summary = "Method Summary table, listing methods, and an explanation" >
< caption > < span > Methods< / span > < span class = "tabEnd" > < / span > < / caption >
< tr >
< th class = "colFirst" scope = "col" > Modifier and Type< / th >
< th class = "colLast" scope = "col" > Method and Description< / th >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#addGlobalParameter(java.lang.String, java.lang.Object)" > addGlobalParameter< / a > < / strong > (java.lang.String key,
java.lang.Object value)< / code >
< div class = "block" > Adds the given global parameter.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#addPrefix(java.lang.String, java.lang.String)" > addPrefix< / a > < / strong > (java.lang.String text,
java.lang.String prefix)< / code >
< div class = "block" > Adds the given prefix to every line in the text.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#clearGlobalParameters()" > clearGlobalParameters< / a > < / strong > ()< / code >
< div class = "block" > Reset all global parameters.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > int< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getErrorCount()" > getErrorCount< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the current number of errors printed through < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#reportDetailed(java.lang.Object, com.comphenix.protocol.error.Report)" > < code > reportDetailed(Object, Report)< / code > < / a > .< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > java.lang.Object< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getGlobalParameter(java.lang.String)" > getGlobalParameter< / a > < / strong > (java.lang.String key)< / code >
< div class = "block" > Retrieve a global parameter by its key.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > java.util.logging.Logger< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getLogger()" > getLogger< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the current logger that is used to print all reports.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > int< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getMaxErrorCount()" > getMaxErrorCount< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the maximum number of errors we can print before we begin suppressing errors.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getPrefix()" > getPrefix< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the prefix to apply to every line in the error reports.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > protected java.lang.String< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getStringDescription(java.lang.Object)" > getStringDescription< / a > < / strong > (java.lang.Object value)< / code >
< div class = "block" > Retrieve a string representation of the given object.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > java.lang.String< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getSupportURL()" > getSupportURL< / a > < / strong > ()< / code >
< div class = "block" > Retrieve the support URL that will be added to all detailed reports.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > java.util.Set< java.lang.String> < / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#globalParameters()" > globalParameters< / a > < / strong > ()< / code >
< div class = "block" > Retrieve a set of every registered global parameter.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > protected boolean< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#isSimpleType(java.lang.Object)" > isSimpleType< / a > < / strong > (java.lang.Object test)< / code >
< div class = "block" > Determine if the given object is a wrapper for a primitive/simple type or not.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#reportDetailed(java.lang.Object, com.comphenix.protocol.error.Report.ReportBuilder)" > reportDetailed< / a > < / strong > (java.lang.Object sender,
< a href = "../../../../com/comphenix/protocol/error/Report.ReportBuilder.html" title = "class in com.comphenix.protocol.error" > Report.ReportBuilder< / a > reportBuilder)< / code >
2012-11-04 03:50:58 +01:00
< div class = "block" > Prints a detailed error report about an unhandled exception.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#reportDetailed(java.lang.Object, com.comphenix.protocol.error.Report)" > reportDetailed< / a > < / strong > (java.lang.Object sender,
< a href = "../../../../com/comphenix/protocol/error/Report.html" title = "class in com.comphenix.protocol.error" > Report< / a > report)< / code >
< div class = "block" > Prints a detailed error report about an unhandled exception.< / div >
< / td >
< / tr >
< tr class = "altColor" >
< td class = "colFirst" > < code > void< / code > < / td >
2013-03-05 17:07:09 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#reportMinimal(org.bukkit.plugin.Plugin, java.lang.String, java.lang.Throwable)" > reportMinimal< / a > < / strong > (org.bukkit.plugin.Plugin sender,
2012-11-04 03:50:58 +01:00
java.lang.String methodName,
java.lang.Throwable error)< / code >
2013-05-14 01:29:12 +02:00
< div class = "block" > Prints a small minimal error report regarding an exception from another plugin.< / div >
2012-11-04 03:50:58 +01:00
< / td >
< / tr >
2013-05-14 01:29:12 +02:00
< tr class = "rowColor" >
2012-11-04 03:50:58 +01:00
< td class = "colFirst" > < code > void< / code > < / td >
2013-03-05 17:07:09 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#reportMinimal(org.bukkit.plugin.Plugin, java.lang.String, java.lang.Throwable, java.lang.Object...)" > reportMinimal< / a > < / strong > (org.bukkit.plugin.Plugin sender,
2012-12-10 16:45:24 +01:00
java.lang.String methodName,
java.lang.Throwable error,
java.lang.Object... parameters)< / code >
2013-05-14 01:29:12 +02:00
< div class = "block" > Prints a small minimal error report regarding an exception from another plugin.< / div >
2012-12-10 16:45:24 +01:00
< / td >
< / tr >
2013-05-14 01:29:12 +02:00
< tr class = "altColor" >
2012-12-27 17:44:04 +01:00
< td class = "colFirst" > < code > boolean< / code > < / td >
2013-03-05 17:07:09 +01:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#reportMinimalNoSpam(org.bukkit.plugin.Plugin, java.lang.String, java.lang.Throwable)" > reportMinimalNoSpam< / a > < / strong > (org.bukkit.plugin.Plugin sender,
2012-12-27 17:44:04 +01:00
java.lang.String methodName,
2013-05-14 01:29:12 +02:00
java.lang.Throwable error)< / code >
< div class = "block" > Report a problem with a given method and plugin, ensuring that we don't exceed the maximum number of error reports.< / div >
2012-11-04 03:50:58 +01:00
< / td >
< / tr >
2012-12-27 17:44:04 +01:00
< tr class = "rowColor" >
2012-11-04 03:50:58 +01:00
< td class = "colFirst" > < code > void< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#reportWarning(java.lang.Object, com.comphenix.protocol.error.Report.ReportBuilder)" > reportWarning< / a > < / strong > (java.lang.Object sender,
< a href = "../../../../com/comphenix/protocol/error/Report.ReportBuilder.html" title = "class in com.comphenix.protocol.error" > Report.ReportBuilder< / a > reportBuilder)< / code >
2012-11-04 03:50:58 +01:00
< div class = "block" > Prints a warning message from the current plugin.< / div >
< / td >
< / tr >
2012-12-27 17:44:04 +01:00
< tr class = "altColor" >
2012-11-04 03:50:58 +01:00
< td class = "colFirst" > < code > void< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#reportWarning(java.lang.Object, com.comphenix.protocol.error.Report)" > reportWarning< / a > < / strong > (java.lang.Object sender,
< a href = "../../../../com/comphenix/protocol/error/Report.html" title = "class in com.comphenix.protocol.error" > Report< / a > report)< / code >
< div class = "block" > Prints a warning message from the current plugin.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
2012-12-27 17:44:04 +01:00
< tr class = "rowColor" >
2012-11-04 03:50:58 +01:00
< td class = "colFirst" > < code > void< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#setErrorCount(int)" > setErrorCount< / a > < / strong > (int errorCount)< / code >
< div class = "block" > Set the number of errors printed.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
2012-12-27 17:44:04 +01:00
< tr class = "altColor" >
2012-11-04 03:50:58 +01:00
< td class = "colFirst" > < code > void< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#setLogger(java.util.logging.Logger)" > setLogger< / a > < / strong > (java.util.logging.Logger logger)< / code >
< div class = "block" > Set the current logger that is used to print all reports.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
2012-12-27 17:44:04 +01:00
< tr class = "rowColor" >
2012-11-04 03:50:58 +01:00
< td class = "colFirst" > < code > void< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#setMaxErrorCount(int)" > setMaxErrorCount< / a > < / strong > (int maxErrorCount)< / code >
< div class = "block" > Set the maximum number of errors we can print before we begin suppressing errors.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
2012-12-27 17:44:04 +01:00
< tr class = "altColor" >
2012-11-04 03:50:58 +01:00
< td class = "colFirst" > < code > void< / code > < / td >
2013-05-14 01:29:12 +02:00
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#setPrefix(java.lang.String)" > setPrefix< / a > < / strong > (java.lang.String prefix)< / code >
< div class = "block" > Set the prefix to apply to every line in the error reports.< / div >
< / td >
< / tr >
< tr class = "rowColor" >
< td class = "colFirst" > < code > void< / code > < / td >
< td class = "colLast" > < code > < strong > < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#setSupportURL(java.lang.String)" > setSupportURL< / a > < / strong > (java.lang.String supportURL)< / code >
< div class = "block" > Set the support URL that will be added to all detailed reports.< / div >
< / td >
2012-11-04 03:50:58 +01:00
< / tr >
< / table >
< ul class = "blockList" >
< li class = "blockList" > < a name = "methods_inherited_from_class_java.lang.Object" >
<!-- -->
< / a >
< h3 > Methods inherited from class java.lang.Object< / h3 >
< code > clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait< / code > < / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< div class = "details" >
< ul class = "blockList" >
< li class = "blockList" >
<!-- ============ FIELD DETAIL =========== -->
< ul class = "blockList" >
< li class = "blockList" > < a name = "field_detail" >
<!-- -->
< / a >
< h3 > Field Detail< / h3 >
2013-05-14 01:29:12 +02:00
< a name = "REPORT_EXCEPTION_COUNT" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > REPORT_EXCEPTION_COUNT< / h4 >
< pre > public static final < a href = "../../../../com/comphenix/protocol/error/ReportType.html" title = "class in com.comphenix.protocol.error" > ReportType< / a > REPORT_EXCEPTION_COUNT< / pre >
< div class = "block" > Report format for printing the current exception count.< / div >
< / li >
< / ul >
2012-11-04 03:50:58 +01:00
< a name = "SECOND_LEVEL_PREFIX" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > SECOND_LEVEL_PREFIX< / h4 >
< pre > public static final java.lang.String SECOND_LEVEL_PREFIX< / pre >
< dl > < dt > < span class = "strong" > See Also:< / span > < / dt > < dd > < a href = "../../../../constant-values.html#com.comphenix.protocol.error.DetailedErrorReporter.SECOND_LEVEL_PREFIX" > Constant Field Values< / a > < / dd > < / dl >
< / li >
< / ul >
< a name = "DEFAULT_PREFIX" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > DEFAULT_PREFIX< / h4 >
< pre > public static final java.lang.String DEFAULT_PREFIX< / pre >
< dl > < dt > < span class = "strong" > See Also:< / span > < / dt > < dd > < a href = "../../../../constant-values.html#com.comphenix.protocol.error.DetailedErrorReporter.DEFAULT_PREFIX" > Constant Field Values< / a > < / dd > < / dl >
< / li >
< / ul >
< a name = "DEFAULT_SUPPORT_URL" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > DEFAULT_SUPPORT_URL< / h4 >
< pre > public static final java.lang.String DEFAULT_SUPPORT_URL< / pre >
< dl > < dt > < span class = "strong" > See Also:< / span > < / dt > < dd > < a href = "../../../../constant-values.html#com.comphenix.protocol.error.DetailedErrorReporter.DEFAULT_SUPPORT_URL" > Constant Field Values< / a > < / dd > < / dl >
< / li >
< / ul >
< a name = "ERROR_PERMISSION" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > ERROR_PERMISSION< / h4 >
< pre > public static final java.lang.String ERROR_PERMISSION< / pre >
< dl > < dt > < span class = "strong" > See Also:< / span > < / dt > < dd > < a href = "../../../../constant-values.html#com.comphenix.protocol.error.DetailedErrorReporter.ERROR_PERMISSION" > Constant Field Values< / a > < / dd > < / dl >
< / li >
< / ul >
< a name = "DEFAULT_MAX_ERROR_COUNT" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > DEFAULT_MAX_ERROR_COUNT< / h4 >
< pre > public static final int DEFAULT_MAX_ERROR_COUNT< / pre >
< dl > < dt > < span class = "strong" > See Also:< / span > < / dt > < dd > < a href = "../../../../constant-values.html#com.comphenix.protocol.error.DetailedErrorReporter.DEFAULT_MAX_ERROR_COUNT" > Constant Field Values< / a > < / dd > < / dl >
< / li >
< / ul >
< a name = "prefix" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > prefix< / h4 >
< pre > protected java.lang.String prefix< / pre >
< / li >
< / ul >
< a name = "supportURL" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > supportURL< / h4 >
< pre > protected java.lang.String supportURL< / pre >
< / li >
< / ul >
2012-12-27 17:44:04 +01:00
< a name = "internalErrorCount" >
2012-11-04 03:50:58 +01:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
2012-12-27 17:44:04 +01:00
< h4 > internalErrorCount< / h4 >
< pre > protected java.util.concurrent.atomic.AtomicInteger internalErrorCount< / pre >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "maxErrorCount" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > maxErrorCount< / h4 >
< pre > protected int maxErrorCount< / pre >
< / li >
< / ul >
< a name = "logger" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > logger< / h4 >
< pre > protected java.util.logging.Logger logger< / pre >
< / li >
< / ul >
2012-11-21 06:29:29 +01:00
< a name = "pluginReference" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > pluginReference< / h4 >
2013-03-05 17:07:09 +01:00
< pre > protected java.lang.ref.WeakReference< org.bukkit.plugin.Plugin> pluginReference< / pre >
2012-11-21 06:29:29 +01:00
< / li >
< / ul >
2013-05-14 01:29:12 +02:00
< a name = "pluginName" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > pluginName< / h4 >
< pre > protected java.lang.String pluginName< / pre >
< / li >
< / ul >
2012-11-04 03:50:58 +01:00
< a name = "apacheCommonsMissing" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > apacheCommonsMissing< / h4 >
< pre > protected boolean apacheCommonsMissing< / pre >
< / li >
< / ul >
< a name = "globalParameters" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > globalParameters< / h4 >
< pre > protected java.util.Map< java.lang.String,java.lang.Object> globalParameters< / pre >
< / li >
< / ul >
< / li >
< / ul >
<!-- ========= CONSTRUCTOR DETAIL ======== -->
< ul class = "blockList" >
< li class = "blockList" > < a name = "constructor_detail" >
<!-- -->
< / a >
< h3 > Constructor Detail< / h3 >
2012-11-21 06:29:29 +01:00
< a name = "DetailedErrorReporter(org.bukkit.plugin.Plugin)" >
2012-11-04 03:50:58 +01:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > DetailedErrorReporter< / h4 >
2013-03-05 17:07:09 +01:00
< pre > public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin)< / pre >
2012-11-04 03:50:58 +01:00
< div class = "block" > Create a default error reporting system.< / div >
< / li >
< / ul >
2012-11-21 06:29:29 +01:00
< a name = "DetailedErrorReporter(org.bukkit.plugin.Plugin, java.lang.String, java.lang.String)" >
2012-11-04 03:50:58 +01:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > DetailedErrorReporter< / h4 >
2013-03-05 17:07:09 +01:00
< pre > public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin,
2012-11-21 06:29:29 +01:00
java.lang.String prefix,
2012-11-04 03:50:58 +01:00
java.lang.String supportURL)< / pre >
< div class = "block" > Create a central error reporting system.< / div >
2012-11-21 06:29:29 +01:00
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > plugin< / code > - - the plugin owner.< / dd > < dd > < code > prefix< / code > - - default line prefix.< / dd > < dd > < code > supportURL< / code > - - URL to report the error.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
2012-11-21 06:29:29 +01:00
< a name = "DetailedErrorReporter(org.bukkit.plugin.Plugin, java.lang.String, java.lang.String, int, java.util.logging.Logger)" >
2012-11-04 03:50:58 +01:00
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > DetailedErrorReporter< / h4 >
2013-03-05 17:07:09 +01:00
< pre > public DetailedErrorReporter(org.bukkit.plugin.Plugin plugin,
2012-11-21 06:29:29 +01:00
java.lang.String prefix,
2012-11-04 03:50:58 +01:00
java.lang.String supportURL,
int maxErrorCount,
java.util.logging.Logger logger)< / pre >
< div class = "block" > Create a central error reporting system.< / div >
2012-11-21 06:29:29 +01:00
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > plugin< / code > - - the plugin owner.< / dd > < dd > < code > prefix< / code > - - default line prefix.< / dd > < dd > < code > supportURL< / code > - - URL to report the error.< / dd > < dd > < code > maxErrorCount< / code > - - number of errors to print before giving up.< / dd > < dd > < code > logger< / code > - - current logger.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< / li >
< / ul >
<!-- ============ METHOD DETAIL ========== -->
< ul class = "blockList" >
< li class = "blockList" > < a name = "method_detail" >
<!-- -->
< / a >
< h3 > Method Detail< / h3 >
2012-12-10 16:45:24 +01:00
< a name = "reportMinimal(org.bukkit.plugin.Plugin, java.lang.String, java.lang.Throwable, java.lang.Object...)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > reportMinimal< / h4 >
2013-03-05 17:07:09 +01:00
< pre > public void reportMinimal(org.bukkit.plugin.Plugin sender,
2012-12-10 16:45:24 +01:00
java.lang.String methodName,
java.lang.Throwable error,
java.lang.Object... parameters)< / pre >
< div class = "block" > < strong > Description copied from interface: < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportMinimal(org.bukkit.plugin.Plugin, java.lang.String, java.lang.Throwable, java.lang.Object...)" > ErrorReporter< / a > < / code > < / strong > < / div >
2013-05-14 01:29:12 +02:00
< div class = "block" > Prints a small minimal error report regarding an exception from another plugin.< / div >
2012-12-10 16:45:24 +01:00
< dl >
< dt > < strong > Specified by:< / strong > < / dt >
< dd > < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportMinimal(org.bukkit.plugin.Plugin, java.lang.String, java.lang.Throwable, java.lang.Object...)" > reportMinimal< / a > < / code > in interface < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html" title = "interface in com.comphenix.protocol.error" > ErrorReporter< / a > < / code > < / dd >
< dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > sender< / code > - - the other plugin.< / dd > < dd > < code > methodName< / code > - - name of the caller method.< / dd > < dd > < code > error< / code > - - the exception itself.< / dd > < dd > < code > parameters< / code > - - any relevant parameters to print.< / dd > < / dl >
< / li >
< / ul >
2012-11-04 03:50:58 +01:00
< a name = "reportMinimal(org.bukkit.plugin.Plugin, java.lang.String, java.lang.Throwable)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > reportMinimal< / h4 >
2013-03-05 17:07:09 +01:00
< pre > public void reportMinimal(org.bukkit.plugin.Plugin sender,
2012-11-04 03:50:58 +01:00
java.lang.String methodName,
java.lang.Throwable error)< / pre >
< div class = "block" > < strong > Description copied from interface: < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportMinimal(org.bukkit.plugin.Plugin, java.lang.String, java.lang.Throwable)" > ErrorReporter< / a > < / code > < / strong > < / div >
2013-05-14 01:29:12 +02:00
< div class = "block" > Prints a small minimal error report regarding an exception from another plugin.< / div >
2012-11-04 03:50:58 +01:00
< dl >
< dt > < strong > Specified by:< / strong > < / dt >
< dd > < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportMinimal(org.bukkit.plugin.Plugin, java.lang.String, java.lang.Throwable)" > reportMinimal< / a > < / code > in interface < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html" title = "interface in com.comphenix.protocol.error" > ErrorReporter< / a > < / code > < / dd >
< dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > sender< / code > - - the other plugin.< / dd > < dd > < code > methodName< / code > - - name of the caller method.< / dd > < dd > < code > error< / code > - - the exception itself.< / dd > < / dl >
< / li >
< / ul >
2012-12-27 17:44:04 +01:00
< a name = "reportMinimalNoSpam(org.bukkit.plugin.Plugin, java.lang.String, java.lang.Throwable)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > reportMinimalNoSpam< / h4 >
2013-03-05 17:07:09 +01:00
< pre > public boolean reportMinimalNoSpam(org.bukkit.plugin.Plugin sender,
2012-12-27 17:44:04 +01:00
java.lang.String methodName,
java.lang.Throwable error)< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Report a problem with a given method and plugin, ensuring that we don't exceed the maximum number of error reports.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > sender< / code > - - the component that observed this exception.< / dd > < dd > < code > methodName< / code > - - the method name.< / dd > < dd > < code > error< / code > - - the error itself.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if the error was printed, FALSE if it was suppressed.< / dd > < / dl >
2012-12-27 17:44:04 +01:00
< / li >
< / ul >
2013-05-14 01:29:12 +02:00
< a name = "reportWarning(java.lang.Object, com.comphenix.protocol.error.Report.ReportBuilder)" >
2012-11-04 03:50:58 +01:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > reportWarning< / h4 >
< pre > public void reportWarning(java.lang.Object sender,
2013-05-14 01:29:12 +02:00
< a href = "../../../../com/comphenix/protocol/error/Report.ReportBuilder.html" title = "class in com.comphenix.protocol.error" > Report.ReportBuilder< / a > reportBuilder)< / pre >
< div class = "block" > < strong > Description copied from interface: < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportWarning(java.lang.Object, com.comphenix.protocol.error.Report.ReportBuilder)" > ErrorReporter< / a > < / code > < / strong > < / div >
2012-11-04 03:50:58 +01:00
< div class = "block" > Prints a warning message from the current plugin.< / div >
< dl >
< dt > < strong > Specified by:< / strong > < / dt >
2013-05-14 01:29:12 +02:00
< dd > < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportWarning(java.lang.Object, com.comphenix.protocol.error.Report.ReportBuilder)" > reportWarning< / a > < / code > in interface < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html" title = "interface in com.comphenix.protocol.error" > ErrorReporter< / a > < / code > < / dd >
< dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > sender< / code > - - the object containing the caller method.< / dd > < dd > < code > reportBuilder< / code > - - an error report builder that will be used to get the report.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
2013-05-14 01:29:12 +02:00
< a name = "reportWarning(java.lang.Object, com.comphenix.protocol.error.Report)" >
2012-11-04 03:50:58 +01:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > reportWarning< / h4 >
< pre > public void reportWarning(java.lang.Object sender,
2013-05-14 01:29:12 +02:00
< a href = "../../../../com/comphenix/protocol/error/Report.html" title = "class in com.comphenix.protocol.error" > Report< / a > report)< / pre >
< div class = "block" > < strong > Description copied from interface: < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportWarning(java.lang.Object, com.comphenix.protocol.error.Report)" > ErrorReporter< / a > < / code > < / strong > < / div >
2012-11-04 03:50:58 +01:00
< div class = "block" > Prints a warning message from the current plugin.< / div >
< dl >
< dt > < strong > Specified by:< / strong > < / dt >
2013-05-14 01:29:12 +02:00
< dd > < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportWarning(java.lang.Object, com.comphenix.protocol.error.Report)" > reportWarning< / a > < / code > in interface < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html" title = "interface in com.comphenix.protocol.error" > ErrorReporter< / a > < / code > < / dd >
< dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > sender< / code > - - the object containing the caller method.< / dd > < dd > < code > report< / code > - - an error report to include.< / dd > < / dl >
< / li >
< / ul >
< a name = "reportDetailed(java.lang.Object, com.comphenix.protocol.error.Report.ReportBuilder)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > reportDetailed< / h4 >
< pre > public void reportDetailed(java.lang.Object sender,
< a href = "../../../../com/comphenix/protocol/error/Report.ReportBuilder.html" title = "class in com.comphenix.protocol.error" > Report.ReportBuilder< / a > reportBuilder)< / pre >
< div class = "block" > < strong > Description copied from interface: < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportDetailed(java.lang.Object, com.comphenix.protocol.error.Report.ReportBuilder)" > ErrorReporter< / a > < / code > < / strong > < / div >
< div class = "block" > Prints a detailed error report about an unhandled exception.< / div >
< dl >
< dt > < strong > Specified by:< / strong > < / dt >
< dd > < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportDetailed(java.lang.Object, com.comphenix.protocol.error.Report.ReportBuilder)" > reportDetailed< / a > < / code > in interface < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html" title = "interface in com.comphenix.protocol.error" > ErrorReporter< / a > < / code > < / dd >
< dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > sender< / code > - - the object containing the caller method.< / dd > < dd > < code > reportBuilder< / code > - - an error report builder that will be used to get the report.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
2013-05-14 01:29:12 +02:00
< a name = "reportDetailed(java.lang.Object, com.comphenix.protocol.error.Report)" >
2012-11-04 03:50:58 +01:00
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > reportDetailed< / h4 >
< pre > public void reportDetailed(java.lang.Object sender,
2013-05-14 01:29:12 +02:00
< a href = "../../../../com/comphenix/protocol/error/Report.html" title = "class in com.comphenix.protocol.error" > Report< / a > report)< / pre >
< div class = "block" > < strong > Description copied from interface: < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportDetailed(java.lang.Object, com.comphenix.protocol.error.Report)" > ErrorReporter< / a > < / code > < / strong > < / div >
2012-11-04 03:50:58 +01:00
< div class = "block" > Prints a detailed error report about an unhandled exception.< / div >
< dl >
< dt > < strong > Specified by:< / strong > < / dt >
2013-05-14 01:29:12 +02:00
< dd > < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html#reportDetailed(java.lang.Object, com.comphenix.protocol.error.Report)" > reportDetailed< / a > < / code > in interface < code > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html" title = "interface in com.comphenix.protocol.error" > ErrorReporter< / a > < / code > < / dd >
< dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > sender< / code > - - the object containing the caller method.< / dd > < dd > < code > report< / code > - - an error report to include.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "addPrefix(java.lang.String, java.lang.String)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > addPrefix< / h4 >
< pre > protected java.lang.String addPrefix(java.lang.String text,
java.lang.String prefix)< / pre >
< div class = "block" > Adds the given prefix to every line in the text.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > text< / code > - - text to modify.< / dd > < dd > < code > prefix< / code > - - prefix added to every line in the text.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The modified text.< / dd > < / dl >
< / li >
< / ul >
< a name = "getStringDescription(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getStringDescription< / h4 >
< pre > protected java.lang.String getStringDescription(java.lang.Object value)< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Retrieve a string representation of the given object.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > value< / code > - - object to convert.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > String representation.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "isSimpleType(java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > isSimpleType< / h4 >
< pre > protected boolean isSimpleType(java.lang.Object test)< / pre >
< div class = "block" > Determine if the given object is a wrapper for a primitive/simple type or not.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > test< / code > - - the object to test.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > TRUE if this object is simple enough to simply be printed, FALSE othewise.< / dd > < / dl >
< / li >
< / ul >
< a name = "getErrorCount()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getErrorCount< / h4 >
< pre > public int getErrorCount()< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Retrieve the current number of errors printed through < a href = "../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#reportDetailed(java.lang.Object, com.comphenix.protocol.error.Report)" > < code > reportDetailed(Object, Report)< / code > < / a > .< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Number of errors printed.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "setErrorCount(int)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setErrorCount< / h4 >
< pre > public void setErrorCount(int errorCount)< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Set the number of errors printed.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > errorCount< / code > - - new number of errors printed.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "getMaxErrorCount()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getMaxErrorCount< / h4 >
< pre > public int getMaxErrorCount()< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Retrieve the maximum number of errors we can print before we begin suppressing errors.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Maximum number of errors.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "setMaxErrorCount(int)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setMaxErrorCount< / h4 >
< pre > public void setMaxErrorCount(int maxErrorCount)< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Set the maximum number of errors we can print before we begin suppressing errors.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > maxErrorCount< / code > - - new max count.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "addGlobalParameter(java.lang.String, java.lang.Object)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > addGlobalParameter< / h4 >
< pre > public void addGlobalParameter(java.lang.String key,
java.lang.Object value)< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Adds the given global parameter. It will be included in every error report.
< p >
Both key and value must be non-null.< / div >
2012-11-04 03:50:58 +01:00
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > key< / code > - - name of parameter.< / dd > < dd > < code > value< / code > - - the global parameter itself.< / dd > < / dl >
< / li >
< / ul >
< a name = "getGlobalParameter(java.lang.String)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getGlobalParameter< / h4 >
< pre > public java.lang.Object getGlobalParameter(java.lang.String key)< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Retrieve a global parameter by its key.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > key< / code > - - key of the parameter to retrieve.< / dd >
< dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The value of the global parameter, or NULL if not found.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "clearGlobalParameters()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > clearGlobalParameters< / h4 >
< pre > public void clearGlobalParameters()< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Reset all global parameters.< / div >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "globalParameters()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > globalParameters< / h4 >
< pre > public java.util.Set< java.lang.String> globalParameters()< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Retrieve a set of every registered global parameter.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Set of all registered global parameters.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "getSupportURL()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getSupportURL< / h4 >
< pre > public java.lang.String getSupportURL()< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Retrieve the support URL that will be added to all detailed reports.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Support URL.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "setSupportURL(java.lang.String)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setSupportURL< / h4 >
< pre > public void setSupportURL(java.lang.String supportURL)< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Set the support URL that will be added to all detailed reports.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > supportURL< / code > - - the new support URL.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "getPrefix()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getPrefix< / h4 >
< pre > public java.lang.String getPrefix()< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Retrieve the prefix to apply to every line in the error reports.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > Error report prefix.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "setPrefix(java.lang.String)" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > setPrefix< / h4 >
< pre > public void setPrefix(java.lang.String prefix)< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Set the prefix to apply to every line in the error reports.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > prefix< / code > - - new prefix.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "getLogger()" >
<!-- -->
< / a >
< ul class = "blockList" >
< li class = "blockList" >
< h4 > getLogger< / h4 >
< pre > public java.util.logging.Logger getLogger()< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Retrieve the current logger that is used to print all reports.< / div >
< dl > < dt > < span class = "strong" > Returns:< / span > < / dt > < dd > The current logger.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< a name = "setLogger(java.util.logging.Logger)" >
<!-- -->
< / a >
< ul class = "blockListLast" >
< li class = "blockList" >
< h4 > setLogger< / h4 >
< pre > public void setLogger(java.util.logging.Logger logger)< / pre >
2013-05-14 01:29:12 +02:00
< div class = "block" > Set the current logger that is used to print all reports.< / div >
< dl > < dt > < span class = "strong" > Parameters:< / span > < / dt > < dd > < code > logger< / code > - - new logger.< / dd > < / dl >
2012-11-04 03:50:58 +01:00
< / li >
< / ul >
< / li >
< / ul >
< / li >
< / ul >
< / div >
< / div >
<!-- ========= END OF CLASS DATA ========= -->
<!-- ======= START OF BOTTOM NAVBAR ====== -->
< div class = "bottomNav" > < a name = "navbar_bottom" >
<!-- -->
< / a > < a href = "#skip-navbar_bottom" title = "Skip navigation links" > < / a > < a name = "navbar_bottom_firstrow" >
<!-- -->
< / a >
< ul class = "navList" title = "Navigation" >
< li > < a href = "../../../../overview-summary.html" > Overview< / a > < / li >
< li > < a href = "package-summary.html" > Package< / a > < / li >
< li class = "navBarCell1Rev" > Class< / li >
< li > < a href = "class-use/DetailedErrorReporter.html" > Use< / a > < / li >
< li > < a href = "package-tree.html" > Tree< / a > < / li >
< li > < a href = "../../../../deprecated-list.html" > Deprecated< / a > < / li >
< li > < a href = "../../../../index-files/index-1.html" > Index< / a > < / li >
< li > < a href = "../../../../help-doc.html" > Help< / a > < / li >
< / ul >
< / div >
< div class = "subNav" >
< ul class = "navList" >
2013-05-14 01:29:12 +02:00
< li > < a href = "../../../../com/comphenix/protocol/error/DelegatedErrorReporter.html" title = "class in com.comphenix.protocol.error" > < span class = "strong" > Prev Class< / span > < / a > < / li >
2012-11-04 03:50:58 +01:00
< li > < a href = "../../../../com/comphenix/protocol/error/ErrorReporter.html" title = "interface in com.comphenix.protocol.error" > < span class = "strong" > Next Class< / span > < / a > < / li >
< / ul >
< ul class = "navList" >
< li > < a href = "../../../../index.html?com/comphenix/protocol/error/DetailedErrorReporter.html" target = "_top" > Frames< / a > < / li >
< li > < a href = "DetailedErrorReporter.html" target = "_top" > No Frames< / a > < / li >
< / ul >
< ul class = "navList" id = "allclasses_navbar_bottom" >
< li > < a href = "../../../../allclasses-noframe.html" > All Classes< / a > < / li >
< / ul >
< div >
< script type = "text/javascript" > < ! - -
allClassesLink = document.getElementById("allclasses_navbar_bottom");
if(window==top) {
allClassesLink.style.display = "block";
}
else {
allClassesLink.style.display = "none";
}
//-->
< / script >
< / div >
< div >
< ul class = "subNavList" >
< li > Summary: < / li >
< li > Nested | < / li >
< li > < a href = "#field_summary" > Field< / a > | < / li >
< li > < a href = "#constructor_summary" > Constr< / a > | < / li >
< li > < a href = "#method_summary" > Method< / a > < / li >
< / ul >
< ul class = "subNavList" >
< li > Detail: < / li >
< li > < a href = "#field_detail" > Field< / a > | < / li >
< li > < a href = "#constructor_detail" > Constr< / a > | < / li >
< li > < a href = "#method_detail" > Method< / a > < / li >
< / ul >
< / div >
< a name = "skip-navbar_bottom" >
<!-- -->
< / a > < / div >
<!-- ======== END OF BOTTOM NAVBAR ======= -->
< / body >
< / html >