Bukkit-API  1.7.9-R0.2
The inofficial Bukkit-API
ReservedChannelException.java
1 package org.bukkit.plugin.messaging;
2 
3 /**
4  * Thrown if a plugin attempts to register for a reserved channel (such as
5  * "REGISTER")
6  */
7 @SuppressWarnings("serial")
8 public class ReservedChannelException extends RuntimeException {
9  public ReservedChannelException() {
10  this("Attempted to register for a reserved channel name.");
11  }
12 
13  public ReservedChannelException(String name) {
14  super("Attempted to register for a reserved channel name ('" + name + "')");
15  }
16 }