/FileExtraction/Java_unseen/Wind-Development_WindSpigot/WindSpigot-API/src/main/java/org/bukkit/plugin/messaging/ReservedChannelException.java
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.");
	}

	public ReservedChannelException(String name) {
		super("Attempted to register for a reserved channel name ('" + name + "')");
	}
}
