ProtocolLib/Javadoc/com/comphenix/protocol/error/DetailedErrorReporter.html
2012-11-04 03:50:58 +01:00

832 lines
35 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<!-- NewPage -->
<html lang="en">
<head>
<!-- Generated by javadoc (version 1.7.0_07) on Sun Nov 04 03:47:21 CET 2012 -->
<title>DetailedErrorReporter</title>
<meta name="date" content="2012-11-04">
<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">
<li>Prev Class</li>
<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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</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">&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</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>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>protected int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#errorCount">errorCount</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.util.Map&lt;java.lang.String,java.lang.Object&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#globalParameters">globalParameters</a></strong></code>&nbsp;</td>
</tr>
<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>&nbsp;</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>&nbsp;</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#PLUGIN_NAME">PLUGIN_NAME</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<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>&nbsp;</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#SECOND_LEVEL_PREFIX">SECOND_LEVEL_PREFIX</a></strong></code>&nbsp;</td>
</tr>
<tr class="altColor">
<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>&nbsp;</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">&nbsp;</span></caption>
<tr>
<th class="colOne" scope="col">Constructor and Description</th>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#DetailedErrorReporter()">DetailedErrorReporter</a></strong>()</code>
<div class="block">Create a default error reporting system.</div>
</td>
</tr>
<tr class="rowColor">
<td class="colOne"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#DetailedErrorReporter(java.lang.String, java.lang.String)">DetailedErrorReporter</a></strong>(java.lang.String&nbsp;prefix,
java.lang.String&nbsp;supportURL)</code>
<div class="block">Create a central error reporting system.</div>
</td>
</tr>
<tr class="altColor">
<td class="colOne"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#DetailedErrorReporter(java.lang.String, java.lang.String, int, java.util.logging.Logger)">DetailedErrorReporter</a></strong>(java.lang.String&nbsp;prefix,
java.lang.String&nbsp;supportURL,
int&nbsp;maxErrorCount,
java.util.logging.Logger&nbsp;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">&nbsp;</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&nbsp;key,
java.lang.Object&nbsp;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&nbsp;text,
java.lang.String&nbsp;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>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#clearGlobalParameters()">clearGlobalParameters</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getErrorCount()">getErrorCount</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.lang.Object</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getGlobalParameter(java.lang.String)">getGlobalParameter</a></strong>(java.lang.String&nbsp;key)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.util.logging.Logger</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getLogger()">getLogger</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>int</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getMaxErrorCount()">getMaxErrorCount</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getPrefix()">getPrefix</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>protected java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getStringDescription(java.lang.Object)">getStringDescription</a></strong>(java.lang.Object&nbsp;value)</code>&nbsp;</td>
</tr>
<tr class="rowColor">
<td class="colFirst"><code>java.lang.String</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#getSupportURL()">getSupportURL</a></strong>()</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>java.util.Set&lt;java.lang.String&gt;</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#globalParameters()">globalParameters</a></strong>()</code>&nbsp;</td>
</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&nbsp;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>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#reportDetailed(java.lang.Object, java.lang.String, java.lang.Throwable, java.lang.Object...)">reportDetailed</a></strong>(java.lang.Object&nbsp;sender,
java.lang.String&nbsp;message,
java.lang.Throwable&nbsp;error,
java.lang.Object...&nbsp;parameters)</code>
<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>
<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&nbsp;sender,
java.lang.String&nbsp;methodName,
java.lang.Throwable&nbsp;error)</code>
<div class="block">Prints a small minimal error report about an exception from another plugin.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#reportWarning(java.lang.Object, java.lang.String)">reportWarning</a></strong>(java.lang.Object&nbsp;sender,
java.lang.String&nbsp;message)</code>
<div class="block">Prints a warning message from the current plugin.</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#reportWarning(java.lang.Object, java.lang.String, java.lang.Throwable)">reportWarning</a></strong>(java.lang.Object&nbsp;sender,
java.lang.String&nbsp;message,
java.lang.Throwable&nbsp;error)</code>
<div class="block">Prints a warning message from the current plugin.</div>
</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#setErrorCount(int)">setErrorCount</a></strong>(int&nbsp;errorCount)</code>&nbsp;</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#setLogger(java.util.logging.Logger)">setLogger</a></strong>(java.util.logging.Logger&nbsp;logger)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<td class="colFirst"><code>void</code></td>
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#setMaxErrorCount(int)">setMaxErrorCount</a></strong>(int&nbsp;maxErrorCount)</code>&nbsp;</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#setPrefix(java.lang.String)">setPrefix</a></strong>(java.lang.String&nbsp;prefix)</code>&nbsp;</td>
</tr>
<tr class="altColor">
<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&nbsp;supportURL)</code>&nbsp;</td>
</tr>
</table>
<ul class="blockList">
<li class="blockList"><a name="methods_inherited_from_class_java.lang.Object">
<!-- -->
</a>
<h3>Methods inherited from class&nbsp;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>
<a name="SECOND_LEVEL_PREFIX">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>SECOND_LEVEL_PREFIX</h4>
<pre>public static final&nbsp;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&nbsp;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&nbsp;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="PLUGIN_NAME">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>PLUGIN_NAME</h4>
<pre>public static final&nbsp;java.lang.String PLUGIN_NAME</pre>
<dl><dt><span class="strong">See Also:</span></dt><dd><a href="../../../../constant-values.html#com.comphenix.protocol.error.DetailedErrorReporter.PLUGIN_NAME">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&nbsp;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&nbsp;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&nbsp;java.lang.String prefix</pre>
</li>
</ul>
<a name="supportURL">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>supportURL</h4>
<pre>protected&nbsp;java.lang.String supportURL</pre>
</li>
</ul>
<a name="errorCount">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>errorCount</h4>
<pre>protected&nbsp;int errorCount</pre>
</li>
</ul>
<a name="maxErrorCount">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>maxErrorCount</h4>
<pre>protected&nbsp;int maxErrorCount</pre>
</li>
</ul>
<a name="logger">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>logger</h4>
<pre>protected&nbsp;java.util.logging.Logger logger</pre>
</li>
</ul>
<a name="apacheCommonsMissing">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>apacheCommonsMissing</h4>
<pre>protected&nbsp;boolean apacheCommonsMissing</pre>
</li>
</ul>
<a name="globalParameters">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>globalParameters</h4>
<pre>protected&nbsp;java.util.Map&lt;java.lang.String,java.lang.Object&gt; globalParameters</pre>
</li>
</ul>
</li>
</ul>
<!-- ========= CONSTRUCTOR DETAIL ======== -->
<ul class="blockList">
<li class="blockList"><a name="constructor_detail">
<!-- -->
</a>
<h3>Constructor Detail</h3>
<a name="DetailedErrorReporter()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DetailedErrorReporter</h4>
<pre>public&nbsp;DetailedErrorReporter()</pre>
<div class="block">Create a default error reporting system.</div>
</li>
</ul>
<a name="DetailedErrorReporter(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>DetailedErrorReporter</h4>
<pre>public&nbsp;DetailedErrorReporter(java.lang.String&nbsp;prefix,
java.lang.String&nbsp;supportURL)</pre>
<div class="block">Create a central error reporting system.</div>
<dl><dt><span class="strong">Parameters:</span></dt><dd><code>prefix</code> - - default line prefix.</dd><dd><code>supportURL</code> - - URL to report the error.</dd></dl>
</li>
</ul>
<a name="DetailedErrorReporter(java.lang.String, java.lang.String, int, java.util.logging.Logger)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>DetailedErrorReporter</h4>
<pre>public&nbsp;DetailedErrorReporter(java.lang.String&nbsp;prefix,
java.lang.String&nbsp;supportURL,
int&nbsp;maxErrorCount,
java.util.logging.Logger&nbsp;logger)</pre>
<div class="block">Create a central error reporting system.</div>
<dl><dt><span class="strong">Parameters:</span></dt><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>
</li>
</ul>
</li>
</ul>
<!-- ============ METHOD DETAIL ========== -->
<ul class="blockList">
<li class="blockList"><a name="method_detail">
<!-- -->
</a>
<h3>Method Detail</h3>
<a name="reportMinimal(org.bukkit.plugin.Plugin, java.lang.String, java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reportMinimal</h4>
<pre>public&nbsp;void&nbsp;reportMinimal(org.bukkit.plugin.Plugin&nbsp;sender,
java.lang.String&nbsp;methodName,
java.lang.Throwable&nbsp;error)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<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>
<div class="block">Prints a small minimal error report about an exception from another plugin.</div>
<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>&nbsp;in interface&nbsp;<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>
<a name="reportWarning(java.lang.Object, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reportWarning</h4>
<pre>public&nbsp;void&nbsp;reportWarning(java.lang.Object&nbsp;sender,
java.lang.String&nbsp;message)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../com/comphenix/protocol/error/ErrorReporter.html#reportWarning(java.lang.Object, java.lang.String)">ErrorReporter</a></code></strong></div>
<div class="block">Prints a warning message from the current plugin.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/comphenix/protocol/error/ErrorReporter.html#reportWarning(java.lang.Object, java.lang.String)">reportWarning</a></code>&nbsp;in interface&nbsp;<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>message</code> - - error message.</dd></dl>
</li>
</ul>
<a name="reportWarning(java.lang.Object, java.lang.String, java.lang.Throwable)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reportWarning</h4>
<pre>public&nbsp;void&nbsp;reportWarning(java.lang.Object&nbsp;sender,
java.lang.String&nbsp;message,
java.lang.Throwable&nbsp;error)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../com/comphenix/protocol/error/ErrorReporter.html#reportWarning(java.lang.Object, java.lang.String, java.lang.Throwable)">ErrorReporter</a></code></strong></div>
<div class="block">Prints a warning message from the current plugin.</div>
<dl>
<dt><strong>Specified by:</strong></dt>
<dd><code><a href="../../../../com/comphenix/protocol/error/ErrorReporter.html#reportWarning(java.lang.Object, java.lang.String, java.lang.Throwable)">reportWarning</a></code>&nbsp;in interface&nbsp;<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>message</code> - - error message.</dd><dd><code>error</code> - - the exception that was thrown.</dd></dl>
</li>
</ul>
<a name="reportDetailed(java.lang.Object, java.lang.String, java.lang.Throwable, java.lang.Object...)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>reportDetailed</h4>
<pre>public&nbsp;void&nbsp;reportDetailed(java.lang.Object&nbsp;sender,
java.lang.String&nbsp;message,
java.lang.Throwable&nbsp;error,
java.lang.Object...&nbsp;parameters)</pre>
<div class="block"><strong>Description copied from interface:&nbsp;<code><a href="../../../../com/comphenix/protocol/error/ErrorReporter.html#reportDetailed(java.lang.Object, java.lang.String, java.lang.Throwable, java.lang.Object...)">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, java.lang.String, java.lang.Throwable, java.lang.Object...)">reportDetailed</a></code>&nbsp;in interface&nbsp;<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>message</code> - - an error message to include.</dd><dd><code>error</code> - - the exception that was thrown in the caller method.</dd><dd><code>parameters</code> - - parameters from the caller method.</dd></dl>
</li>
</ul>
<a name="addPrefix(java.lang.String, java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addPrefix</h4>
<pre>protected&nbsp;java.lang.String&nbsp;addPrefix(java.lang.String&nbsp;text,
java.lang.String&nbsp;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&nbsp;java.lang.String&nbsp;getStringDescription(java.lang.Object&nbsp;value)</pre>
</li>
</ul>
<a name="isSimpleType(java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>isSimpleType</h4>
<pre>protected&nbsp;boolean&nbsp;isSimpleType(java.lang.Object&nbsp;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&nbsp;int&nbsp;getErrorCount()</pre>
</li>
</ul>
<a name="setErrorCount(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setErrorCount</h4>
<pre>public&nbsp;void&nbsp;setErrorCount(int&nbsp;errorCount)</pre>
</li>
</ul>
<a name="getMaxErrorCount()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getMaxErrorCount</h4>
<pre>public&nbsp;int&nbsp;getMaxErrorCount()</pre>
</li>
</ul>
<a name="setMaxErrorCount(int)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setMaxErrorCount</h4>
<pre>public&nbsp;void&nbsp;setMaxErrorCount(int&nbsp;maxErrorCount)</pre>
</li>
</ul>
<a name="addGlobalParameter(java.lang.String, java.lang.Object)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>addGlobalParameter</h4>
<pre>public&nbsp;void&nbsp;addGlobalParameter(java.lang.String&nbsp;key,
java.lang.Object&nbsp;value)</pre>
<div class="block">Adds the given global parameter. It will be included in every error report.</div>
<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&nbsp;java.lang.Object&nbsp;getGlobalParameter(java.lang.String&nbsp;key)</pre>
</li>
</ul>
<a name="clearGlobalParameters()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>clearGlobalParameters</h4>
<pre>public&nbsp;void&nbsp;clearGlobalParameters()</pre>
</li>
</ul>
<a name="globalParameters()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>globalParameters</h4>
<pre>public&nbsp;java.util.Set&lt;java.lang.String&gt;&nbsp;globalParameters()</pre>
</li>
</ul>
<a name="getSupportURL()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getSupportURL</h4>
<pre>public&nbsp;java.lang.String&nbsp;getSupportURL()</pre>
</li>
</ul>
<a name="setSupportURL(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setSupportURL</h4>
<pre>public&nbsp;void&nbsp;setSupportURL(java.lang.String&nbsp;supportURL)</pre>
</li>
</ul>
<a name="getPrefix()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getPrefix</h4>
<pre>public&nbsp;java.lang.String&nbsp;getPrefix()</pre>
</li>
</ul>
<a name="setPrefix(java.lang.String)">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>setPrefix</h4>
<pre>public&nbsp;void&nbsp;setPrefix(java.lang.String&nbsp;prefix)</pre>
</li>
</ul>
<a name="getLogger()">
<!-- -->
</a>
<ul class="blockList">
<li class="blockList">
<h4>getLogger</h4>
<pre>public&nbsp;java.util.logging.Logger&nbsp;getLogger()</pre>
</li>
</ul>
<a name="setLogger(java.util.logging.Logger)">
<!-- -->
</a>
<ul class="blockListLast">
<li class="blockList">
<h4>setLogger</h4>
<pre>public&nbsp;void&nbsp;setLogger(java.util.logging.Logger&nbsp;logger)</pre>
</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">
<li>Prev Class</li>
<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:&nbsp;</li>
<li>Nested&nbsp;|&nbsp;</li>
<li><a href="#field_summary">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_summary">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_summary">Method</a></li>
</ul>
<ul class="subNavList">
<li>Detail:&nbsp;</li>
<li><a href="#field_detail">Field</a>&nbsp;|&nbsp;</li>
<li><a href="#constructor_detail">Constr</a>&nbsp;|&nbsp;</li>
<li><a href="#method_detail">Method</a></li>
</ul>
</div>
<a name="skip-navbar_bottom">
<!-- -->
</a></div>
<!-- ======== END OF BOTTOM NAVBAR ======= -->
</body>
</html>