2011-10-19 02:52:32 +00:00
|
|
|
package me.StevenLawson.TotalFreedomMod.Commands;
|
|
|
|
|
2012-09-14 22:49:44 +00:00
|
|
|
import org.bukkit.ChatColor;
|
|
|
|
|
2011-10-19 02:52:32 +00:00
|
|
|
public class CantFindPlayerException extends Exception
|
|
|
|
{
|
2012-09-16 12:11:33 +00:00
|
|
|
// apparently, java needs this
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
public CantFindPlayerException()
|
2011-10-19 02:52:32 +00:00
|
|
|
{
|
2012-09-14 22:49:44 +00:00
|
|
|
super(ChatColor.GRAY + "Can't find player.");
|
2011-10-19 02:52:32 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public CantFindPlayerException(String msg)
|
|
|
|
{
|
2012-09-14 22:49:44 +00:00
|
|
|
super(ChatColor.GRAY + "Can't find player: " + msg);
|
2011-10-19 02:52:32 +00:00
|
|
|
}
|
|
|
|
}
|