Class ServerPluginMessageException

All Implemented Interfaces:
Serializable

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

    • ServerPluginMessageException

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

      public ServerPluginMessageException(Throwable cause, Plugin responsiblePlugin, Player player, String channel, byte[] data)
      Since:
      1.9.4
    • 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 receiving data from
      Returns:
      exception channel
      Since:
      1.9.4
    • getData

      public byte[] getData()
      Gets the data to which the error occurred from
      Returns:
      exception data
      Since:
      1.9.4
    • getPlayer

      public Player getPlayer()
      Gets the player which the plugin message causing the exception originated from
      Returns:
      exception player
      Since:
      1.9.4