//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\
// PLEASE DO NOT EDIT WITHOUT THE EXPLICIT CONSENT OF THE AUTHOR! \\
//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\//\\

package ilog.language.design.types;

/**
 * @version     Last modified on Wed Nov 27 10:08:01 2002 by hak
 * @author      <a href="mailto:hak@ilog.fr">Hassan A&iuml;t-Kaci</a>
 * @copyright   &copy; 2000-2002 <a href="http://www.ilog.fr/">ILOG, S.A.</a>
 */

import ilog.language.tools.Misc;

public class NoSuchTypeComponentException extends RuntimeException
{

  private String _msg = "(no such type component) ";

  public NoSuchTypeComponentException (Type type, int position)
    {
      _msg += Misc.simpleClassName(type)
            + " has no type component at position: " + position;
    }

  public final String getMessage ()
    {
      return _msg;
    }
}


