Class ServerPluginMessageException
java.lang.Object
java.lang.Throwable
java.lang.Exception
com.destroystokyo.paper.exception.ServerException
com.destroystokyo.paper.exception.ServerPluginException
com.destroystokyo.paper.exception.ServerPluginMessageException
- All Implemented Interfaces:
- Serializable
Thrown when an incoming plugin message channel throws an exception
- See Also:
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedServerPluginMessageException(String message, Throwable cause, boolean enableSuppression, boolean writableStackTrace, Plugin responsiblePlugin, Player player, String channel, byte[] data) ServerPluginMessageException(String message, Throwable cause, Plugin responsiblePlugin, Player player, String channel, byte[] data) ServerPluginMessageException(Throwable cause, Plugin responsiblePlugin, Player player, String channel, byte[] data) 
- 
Method SummaryModifier and TypeMethodDescriptionGets the channel to which the error occurred from recieving data frombyte[]getData()Gets the data to which the error occurred fromGets the player which the plugin message causing the exception originated fromMethods inherited from class com.destroystokyo.paper.exception.ServerPluginExceptiongetResponsiblePluginMethods inherited from class java.lang.ThrowableaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
- 
Constructor Details- 
ServerPluginMessageException
- 
ServerPluginMessageException
- 
ServerPluginMessageException
 
- 
- 
Method Details- 
getChannelGets the channel to which the error occurred from recieving data from- Returns:
- exception channel
 
- 
getDatapublic byte[] getData()Gets the data to which the error occurred from- Returns:
- exception data
 
- 
getPlayerGets the player which the plugin message causing the exception originated from- Returns:
- exception player
 
 
-