diff options
Diffstat (limited to 'src/main/java/org/bukkit/plugin')
4 files changed, 4 insertions, 0 deletions
diff --git a/src/main/java/org/bukkit/plugin/messaging/ChannelNameTooLongException.java b/src/main/java/org/bukkit/plugin/messaging/ChannelNameTooLongException.java index 76e06fc1..80ef8a2a 100644 --- a/src/main/java/org/bukkit/plugin/messaging/ChannelNameTooLongException.java +++ b/src/main/java/org/bukkit/plugin/messaging/ChannelNameTooLongException.java @@ -3,6 +3,7 @@ package org.bukkit.plugin.messaging; /** * Thrown if a Plugin Channel is too long. */ +@SuppressWarnings("serial") public class ChannelNameTooLongException extends RuntimeException { public ChannelNameTooLongException() { super("Attempted to send a Plugin Message to a channel that was too large. The maximum length a channel may be is " + Messenger.MAX_CHANNEL_SIZE + " chars."); diff --git a/src/main/java/org/bukkit/plugin/messaging/ChannelNotRegisteredException.java b/src/main/java/org/bukkit/plugin/messaging/ChannelNotRegisteredException.java index a7a568e9..c3a797dc 100644 --- a/src/main/java/org/bukkit/plugin/messaging/ChannelNotRegisteredException.java +++ b/src/main/java/org/bukkit/plugin/messaging/ChannelNotRegisteredException.java @@ -3,6 +3,7 @@ package org.bukkit.plugin.messaging; /** * Thrown if a Plugin attempts to send a message on an unregistered channel. */ +@SuppressWarnings("serial") public class ChannelNotRegisteredException extends RuntimeException { public ChannelNotRegisteredException() { this("Attempted to send a plugin message through an unregistered channel."); diff --git a/src/main/java/org/bukkit/plugin/messaging/MessageTooLargeException.java b/src/main/java/org/bukkit/plugin/messaging/MessageTooLargeException.java index 3a195c05..61af8c4c 100644 --- a/src/main/java/org/bukkit/plugin/messaging/MessageTooLargeException.java +++ b/src/main/java/org/bukkit/plugin/messaging/MessageTooLargeException.java @@ -3,6 +3,7 @@ package org.bukkit.plugin.messaging; /** * Thrown if a Plugin Message is sent that is too large to be sent. */ +@SuppressWarnings("serial") public class MessageTooLargeException extends RuntimeException { public MessageTooLargeException() { this("Attempted to send a plugin message that was too large. The maximum length a plugin message may be is " + Messenger.MAX_MESSAGE_SIZE + " bytes."); diff --git a/src/main/java/org/bukkit/plugin/messaging/ReservedChannelException.java b/src/main/java/org/bukkit/plugin/messaging/ReservedChannelException.java index 8b20b41a..7cf7845e 100644 --- a/src/main/java/org/bukkit/plugin/messaging/ReservedChannelException.java +++ b/src/main/java/org/bukkit/plugin/messaging/ReservedChannelException.java @@ -3,6 +3,7 @@ package org.bukkit.plugin.messaging; /** * Thrown if a plugin attempts to register for a reserved channel (such as "REGISTER") */ +@SuppressWarnings("serial") public class ReservedChannelException extends RuntimeException { public ReservedChannelException() { this("Attempted to register for a reserved channel name."); |