org.jamon
Class ParserErrors

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.jamon.ParserErrors
All Implemented Interfaces:
Serializable

public final class ParserErrors
extends IOException

Author:
ian
See Also:
Serialized Form

Constructor Summary
ParserErrors()
           
ParserErrors(ParserError p_error)
           
 
Method Summary
 void addError(ParserError p_error)
           
 void addError(String p_message, org.jamon.node.Location p_location)
           
 void addErrors(ParserErrors p_errors)
           
 Iterator<ParserError> getErrors()
           
 String getMessage()
           
 boolean hasErrors()
           
 void printErrors(PrintStream p_stream)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ParserErrors

public ParserErrors()

ParserErrors

public ParserErrors(ParserError p_error)
Method Detail

hasErrors

public boolean hasErrors()

getErrors

public Iterator<ParserError> getErrors()

addError

public void addError(ParserError p_error)

addError

public void addError(String p_message,
                     org.jamon.node.Location p_location)

addErrors

public void addErrors(ParserErrors p_errors)

getMessage

public String getMessage()
Overrides:
getMessage in class Throwable

printErrors

public void printErrors(PrintStream p_stream)