ErrorLogger.html

`ErrorLogger.java`

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

This class offers basic error/warning logging.
Author: |  | Hassan Aït-Kaci
Copyright: |  | © Hassan Aït-Kaci
Version: |  | Last modified on Thu Nov 15 22:06:49 2012 by hak

    package hlt.osf.util;

    import hlt.language.util.Error;
    import hlt.language.util.ArrayList;

    public class ErrorLogger
    {

This is a table for tallying errors to report.

      private ArrayList _errorLog = new ArrayList();

      public ArrayList errorLog ()
      {
        return _errorLog;
      }

      public int size ()
      {
        return _errorLog.size();
      }

      public void recordError (Error error)
      {
        _errorLog.add(error);
      }

      public Error getError (int i)
      {
        return (Error)_errorLog.get(i);
      }

      public void clearErrors ()
      {
        _errorLog.clear();
      }

    }

This file was generated on Wed Jan 30 13:26:29 CET 2013 from file `ErrorLogger.java`
by the `hlt.language.tools.Hilite` Java tool written by Hassan Aït-Kaci