org.objectweb.jorm.util.lib
Class CompilerError

java.lang.Object
  extended byorg.objectweb.jorm.util.lib.CompilerError

public class CompilerError
extends java.lang.Object

This object is used to manage errors from the compiler.

Author:
X. Spengler

Constructor Summary
CompilerError()
          Builds a new CompilerError object
 
Method Summary
 void addError(java.lang.String line)
          Adds an error message to the list of messages.
 java.util.Iterator iterateError()
          Allows to know all the error message registered by the compiler.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CompilerError

public CompilerError()
Builds a new CompilerError object

Method Detail

addError

public void addError(java.lang.String line)
Adds an error message to the list of messages.

Parameters:
line - the message to add

iterateError

public java.util.Iterator iterateError()
Allows to know all the error message registered by the compiler.

Returns:
an iterator of error messages (String objects)