Class ProxyPluginMessageException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- io.github.waterfallmc.waterfall.exception.ProxyException
-
- io.github.waterfallmc.waterfall.exception.ProxyPluginException
-
- io.github.waterfallmc.waterfall.exception.ProxyPluginMessageException
-
- All Implemented Interfaces:
Serializable
public class ProxyPluginMessageException extends ProxyPluginException
Thrown when an incoming plugin message channel throws an exception- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
ProxyPluginMessageException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin, ProxiedPlayer player, String channel, byte[] data)
ProxyPluginMessageException(String message, Throwable cause, Plugin responsiblePlugin, ProxiedPlayer player, String channel, byte[] data)
ProxyPluginMessageException(Throwable cause, Plugin responsiblePlugin, ProxiedPlayer player, String channel, byte[] data)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
getChannel()
Gets the channel to which the error occurred from recieving data frombyte[]
getData()
Gets the data to which the error occurred fromProxiedPlayer
getPlayer()
Gets the player which the plugin message causing the exception originated from-
Methods inherited from class io.github.waterfallmc.waterfall.exception.ProxyPluginException
getResponsiblePlugin
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ProxyPluginMessageException
public ProxyPluginMessageException(String message, Throwable cause, Plugin responsiblePlugin, ProxiedPlayer player, String channel, byte[] data)
-
ProxyPluginMessageException
public ProxyPluginMessageException(Throwable cause, Plugin responsiblePlugin, ProxiedPlayer player, String channel, byte[] data)
-
ProxyPluginMessageException
protected ProxyPluginMessageException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin, ProxiedPlayer player, String channel, byte[] data)
-
-
Method Detail
-
getChannel
public String getChannel()
Gets the channel to which the error occurred from recieving data from- Returns:
- exception channel
-
getData
public byte[] getData()
Gets the data to which the error occurred from- Returns:
- exception data
-
getPlayer
public ProxiedPlayer getPlayer()
Gets the player which the plugin message causing the exception originated from- Returns:
- exception player
-
-