mirror of
https://github.com/dmulloy2/ProtocolLib.git
synced 2024-11-01 16:39:46 +01:00
832 lines
35 KiB
HTML
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: </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 int</code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#errorCount">errorCount</a></strong></code> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<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>
|
|
<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">
|
|
<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> </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> </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> </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> </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">
|
|
<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 prefix,
|
|
java.lang.String 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 prefix,
|
|
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>
|
|
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#clearGlobalParameters()">clearGlobalParameters</a></strong>()</code> </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> </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 key)</code> </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> </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> </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> </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 value)</code> </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> </td>
|
|
</tr>
|
|
<tr class="altColor">
|
|
<td class="colFirst"><code>java.util.Set<java.lang.String></code></td>
|
|
<td class="colLast"><code><strong><a href="../../../../com/comphenix/protocol/error/DetailedErrorReporter.html#globalParameters()">globalParameters</a></strong>()</code> </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 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 sender,
|
|
java.lang.String message,
|
|
java.lang.Throwable error,
|
|
java.lang.Object... 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 sender,
|
|
java.lang.String methodName,
|
|
java.lang.Throwable 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 sender,
|
|
java.lang.String 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 sender,
|
|
java.lang.String message,
|
|
java.lang.Throwable 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 errorCount)</code> </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 logger)</code> </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 maxErrorCount)</code> </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 prefix)</code> </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 supportURL)</code> </td>
|
|
</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>
|
|
<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="PLUGIN_NAME">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>PLUGIN_NAME</h4>
|
|
<pre>public static final 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 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>
|
|
<a name="errorCount">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>errorCount</h4>
|
|
<pre>protected int errorCount</pre>
|
|
</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>
|
|
<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>
|
|
<a name="DetailedErrorReporter()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>DetailedErrorReporter</h4>
|
|
<pre>public 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 DetailedErrorReporter(java.lang.String prefix,
|
|
java.lang.String 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 DetailedErrorReporter(java.lang.String prefix,
|
|
java.lang.String supportURL,
|
|
int maxErrorCount,
|
|
java.util.logging.Logger 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 void reportMinimal(org.bukkit.plugin.Plugin sender,
|
|
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>
|
|
<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> 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>
|
|
<a name="reportWarning(java.lang.Object, java.lang.String)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>reportWarning</h4>
|
|
<pre>public void reportWarning(java.lang.Object sender,
|
|
java.lang.String message)</pre>
|
|
<div class="block"><strong>Description copied from interface: <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> 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>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 void reportWarning(java.lang.Object sender,
|
|
java.lang.String message,
|
|
java.lang.Throwable error)</pre>
|
|
<div class="block"><strong>Description copied from interface: <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> 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>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 void reportDetailed(java.lang.Object sender,
|
|
java.lang.String message,
|
|
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#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> 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>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 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>
|
|
</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>
|
|
</li>
|
|
</ul>
|
|
<a name="setErrorCount(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setErrorCount</h4>
|
|
<pre>public void setErrorCount(int errorCount)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="getMaxErrorCount()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getMaxErrorCount</h4>
|
|
<pre>public int getMaxErrorCount()</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="setMaxErrorCount(int)">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>setMaxErrorCount</h4>
|
|
<pre>public void setMaxErrorCount(int 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 void addGlobalParameter(java.lang.String key,
|
|
java.lang.Object 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 java.lang.Object getGlobalParameter(java.lang.String key)</pre>
|
|
</li>
|
|
</ul>
|
|
<a name="clearGlobalParameters()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>clearGlobalParameters</h4>
|
|
<pre>public void clearGlobalParameters()</pre>
|
|
</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>
|
|
</li>
|
|
</ul>
|
|
<a name="getSupportURL()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getSupportURL</h4>
|
|
<pre>public java.lang.String getSupportURL()</pre>
|
|
</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>
|
|
</li>
|
|
</ul>
|
|
<a name="getPrefix()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getPrefix</h4>
|
|
<pre>public java.lang.String getPrefix()</pre>
|
|
</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>
|
|
</li>
|
|
</ul>
|
|
<a name="getLogger()">
|
|
<!-- -->
|
|
</a>
|
|
<ul class="blockList">
|
|
<li class="blockList">
|
|
<h4>getLogger</h4>
|
|
<pre>public java.util.logging.Logger getLogger()</pre>
|
|
</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>
|
|
</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: </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>
|