<divclass="inheritance"title="Inheritance Tree"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">java.lang.Object</a>
<divclass="inheritance"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html"title="class or interface in java.lang"class="external-link">java.lang.Throwable</a>
<divclass="inheritance"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Exception.html"title="class or interface in java.lang"class="external-link">java.lang.Exception</a>
<divclass="inheritance"><ahref="ServerException.html"title="class in com.destroystokyo.paper.exception">com.destroystokyo.paper.exception.ServerException</a>
<divclass="inheritance"><ahref="ServerPluginException.html"title="class in com.destroystokyo.paper.exception">com.destroystokyo.paper.exception.ServerPluginException</a>
<dd><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/io/Serializable.html"title="class or interface in java.io"class="external-link">Serializable</a></code></dd>
</dl>
<hr>
<divclass="type-signature"><spanclass="modifiers">public class </span><spanclass="element-name type-name-label">ServerPluginMessageException</span>
<spanclass="extends-implements">extends <ahref="ServerPluginException.html"title="class in com.destroystokyo.paper.exception">ServerPluginException</a></span></div>
<divclass="block">Thrown when an incoming plugin message channel throws an exception</div>
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(java.lang.String,java.lang.Throwable,boolean,boolean,org.bukkit.plugin.Plugin,org.bukkit.entity.Player,java.lang.String,byte%5B%5D)"class="member-name-link">ServerPluginMessageException</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> message,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html"title="class or interface in java.lang"class="external-link">Throwable</a> cause,
boolean enableSuppression,
boolean writableStackTrace,
<ahref="../../../../org/bukkit/plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> responsiblePlugin,
<ahref="../../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a> player,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> channel,
<divclass="col-constructor-name odd-row-color"><code><ahref="#%3Cinit%3E(java.lang.String,java.lang.Throwable,org.bukkit.plugin.Plugin,org.bukkit.entity.Player,java.lang.String,byte%5B%5D)"class="member-name-link">ServerPluginMessageException</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> message,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html"title="class or interface in java.lang"class="external-link">Throwable</a> cause,
<ahref="../../../../org/bukkit/plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> responsiblePlugin,
<ahref="../../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a> player,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> channel,
<divclass="col-constructor-name even-row-color"><code><ahref="#%3Cinit%3E(java.lang.Throwable,org.bukkit.plugin.Plugin,org.bukkit.entity.Player,java.lang.String,byte%5B%5D)"class="member-name-link">ServerPluginMessageException</a><wbr>(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html"title="class or interface in java.lang"class="external-link">Throwable</a> cause,
<ahref="../../../../org/bukkit/plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> responsiblePlugin,
<ahref="../../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a> player,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> channel,
<divclass="col-first even-row-color method-summary-table method-summary-table-tab2 method-summary-table-tab4"><code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></code></div>
<divclass="block">Gets the player which the plugin message causing the exception originated from</div>
</div>
</div>
</div>
</div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-com.destroystokyo.paper.exception.ServerPluginException">Methods inherited from class com.destroystokyo.paper.exception.<ahref="ServerPluginException.html"title="class in com.destroystokyo.paper.exception">ServerPluginException</a></h3>
<h3id="methods-inherited-from-class-java.lang.Throwable">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html"title="class or interface in java.lang"class="external-link">Throwable</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#addSuppressed(java.lang.Throwable)"title="class or interface in java.lang"class="external-link">addSuppressed</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#fillInStackTrace()"title="class or interface in java.lang"class="external-link">fillInStackTrace</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getCause()"title="class or interface in java.lang"class="external-link">getCause</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getLocalizedMessage()"title="class or interface in java.lang"class="external-link">getLocalizedMessage</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getMessage()"title="class or interface in java.lang"class="external-link">getMessage</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getStackTrace()"title="class or interface in java.lang"class="external-link">getStackTrace</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#getSuppressed()"title="class or interface in java.lang"class="external-link">getSuppressed</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#initCause(java.lang.Throwable)"title="class or interface in java.lang"class="external-link">initCause</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#printStackTrace()"title="class or interface in java.lang"class="external-link">printStackTrace</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintStream)"title="class or interface in java.lang"class="external-link">printStackTrace</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#printStackTrace(java.io.PrintWriter)"title="class or interface in java.lang"class="external-link">printStackTrace</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#setStackTrace(java.lang.StackTraceElement%5B%5D)"title="class or interface in java.lang"class="external-link">setStackTrace</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html#toString()"title="class or interface in java.lang"class="external-link">toString</a></code></div>
<divclass="inherited-list">
<h3id="methods-inherited-from-class-java.lang.Object">Methods inherited from class java.lang.<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html"title="class or interface in java.lang"class="external-link">Object</a></h3>
<code><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#clone()"title="class or interface in java.lang"class="external-link">clone</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#equals(java.lang.Object)"title="class or interface in java.lang"class="external-link">equals</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#finalize()"title="class or interface in java.lang"class="external-link">finalize</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#getClass()"title="class or interface in java.lang"class="external-link">getClass</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#hashCode()"title="class or interface in java.lang"class="external-link">hashCode</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notify()"title="class or interface in java.lang"class="external-link">notify</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#notifyAll()"title="class or interface in java.lang"class="external-link">notifyAll</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait()"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long)"title="class or interface in java.lang"class="external-link">wait</a>, <ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Object.html#wait(long,int)"title="class or interface in java.lang"class="external-link">wait</a></code></div>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">ServerPluginMessageException</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> message,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html"title="class or interface in java.lang"class="external-link">Throwable</a> cause,
<ahref="../../../../org/bukkit/plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> responsiblePlugin,
<ahref="../../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a> player,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> channel,
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="element-name">ServerPluginMessageException</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html"title="class or interface in java.lang"class="external-link">Throwable</a> cause,
<ahref="../../../../org/bukkit/plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> responsiblePlugin,
<ahref="../../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a> player,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> channel,
<divclass="member-signature"><spanclass="modifiers">protected</span> <spanclass="element-name">ServerPluginMessageException</span><wbr><spanclass="parameters">(<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> message,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/Throwable.html"title="class or interface in java.lang"class="external-link">Throwable</a> cause,
boolean enableSuppression,
boolean writableStackTrace,
<ahref="../../../../org/bukkit/plugin/Plugin.html"title="interface in org.bukkit.plugin">Plugin</a> responsiblePlugin,
<ahref="../../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a> player,
<ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a> channel,
byte[] data)</span></div>
</section>
</li>
</ul>
</section>
</li>
<!-- ============ METHOD DETAIL ========== -->
<li>
<sectionclass="method-details"id="method-detail">
<h2>Method Details</h2>
<ulclass="member-list">
<li>
<sectionclass="detail"id="getChannel()">
<h3>getChannel</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="https://docs.oracle.com/en/java/javase/17/docs/api/java.base/java/lang/String.html"title="class or interface in java.lang"class="external-link">String</a></span> <spanclass="element-name">getChannel</span>()</div>
<divclass="block">Gets the channel to which the error occurred from recieving data from</div>
<divclass="block">Gets the data to which the error occurred from</div>
<dlclass="notes">
<dt>Returns:</dt>
<dd>exception data</dd>
</dl>
</section>
</li>
<li>
<sectionclass="detail"id="getPlayer()">
<h3>getPlayer</h3>
<divclass="member-signature"><spanclass="modifiers">public</span> <spanclass="return-type"><ahref="../../../../org/bukkit/entity/Player.html"title="interface in org.bukkit.entity">Player</a></span> <spanclass="element-name">getPlayer</span>()</div>
<divclass="block">Gets the player which the plugin message causing the exception originated from</div>