org.jamon.compiler
Class ParserErrorsImpl

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

public final class ParserErrorsImpl
extends java.io.IOException
implements org.jamon.api.ParserErrors

Author:
ian
See Also:
Serialized Form

Constructor Summary
ParserErrorsImpl()
           
ParserErrorsImpl(org.jamon.api.ParserError p_error)
           
 
Method Summary
 void addError(org.jamon.api.ParserError p_error)
           
 void addError(java.lang.String p_message, org.jamon.api.Location p_location)
           
 void addErrors(ParserErrorsImpl p_errors)
           
 java.util.List<org.jamon.api.ParserError> getErrors()
           
 java.lang.String getMessage()
           
 boolean hasErrors()
           
 void printErrors(java.io.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

ParserErrorsImpl

public ParserErrorsImpl()

ParserErrorsImpl

public ParserErrorsImpl(org.jamon.api.ParserError p_error)
Method Detail

hasErrors

public boolean hasErrors()
Specified by:
hasErrors in interface org.jamon.api.ParserErrors

getErrors

public java.util.List<org.jamon.api.ParserError> getErrors()
Specified by:
getErrors in interface org.jamon.api.ParserErrors

addError

public void addError(org.jamon.api.ParserError p_error)

addError

public void addError(java.lang.String p_message,
                     org.jamon.api.Location p_location)

addErrors

public void addErrors(ParserErrorsImpl p_errors)

getMessage

public java.lang.String getMessage()
Specified by:
getMessage in interface org.jamon.api.ParserErrors
Overrides:
getMessage in class java.lang.Throwable

printErrors

public void printErrors(java.io.PrintStream p_stream)


jamon