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

package ilog.language.design.types;

/**
 * @version     Last modified on Fri Oct 11 22:44:48 2002 by hak
 * @version          modified on Fri Jun 14 17:38:48 2002 by pviry
 * @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.util.Locatable;

public abstract class StaticSemanticsErrorException extends RuntimeException
{
  private long _stamp;
  private Locatable _extent;
  protected String _msg = "";

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

  public final Locatable extent ()
    {
      return _extent;
    }

  public final long stamp ()
    {
      return _stamp;
    }

  public final StaticSemanticsErrorException setExtent (Locatable extent)
    {
      if (extent != null) _extent = extent;
      return this;
    }

  public final StaticSemanticsErrorException setStamp (long stamp)
    {
      _stamp = stamp;
      return this;
    }
}

