package apz.pirichat.shared;

/*
    PiriNotConnectedException

    Our custom exception; this is thrown whenever we attempt to access a method
    if our socket is not connected

*/

public class PiriIDInUseException extends PiriException
{
    private String mName;

    public PiriIDInUseException(String pName)
    {
        super();
        mName = pName;
    }

    public String toString()
    {
        return "Name " + mName + " was already reserved";
    }

}
