// Copyright (c) 1996-2002 Brian D. Carlstrom

package bdc.scheme.exception;

import bdc.scheme.SchemeException;
import bdc.scheme.Symbol;
import bdc.util.Fmt;

public class UndefinedVarException extends SchemeException
{
    public Symbol name;

    public UndefinedVarException (Symbol name)
    {
        this.name = name;
    }

    public String toString ()
    {
        return Fmt.S("Undefined variable: %s", name);
    }
}
