Class ServerPluginMessageException

All Implemented Interfaces:
Serializable

public class ServerPluginMessageException extends ServerPluginException
Thrown when an incoming plugin message channel throws an exception
See Also:
Serialized Form
  • Constructor Details

    • ServerPluginMessageException

      public ServerPluginMessageException(String message, Throwable cause, Plugin responsiblePlugin, Player player, String channel, byte[] data)
    • ServerPluginMessageException

      public ServerPluginMessageException(Throwable cause, Plugin responsiblePlugin, Player player, String channel, byte[] data)
    • ServerPluginMessageException

      protected ServerPluginMessageException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin, Player player, String channel, byte[] data)
  • Method Details

    • 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 Player getPlayer()
      Gets the player which the plugin message causing the exception originated from
      Returns:
      exception player