Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
ChannelNotRegisteredException.java
1 package org.bukkit.plugin.messaging;
2 
3 /**
4  * Thrown if a Plugin attempts to send a message on an unregistered channel.
5  */
6 @SuppressWarnings("serial")
7 public class ChannelNotRegisteredException extends RuntimeException {
9  this("Attempted to send a plugin message through an unregistered channel.");
10  }
11 
12  public ChannelNotRegisteredException(String channel) {
13  super("Attempted to send a plugin message through the unregistered channel `" + channel + "'.");
14  }
15 }