Interface IGPEErrorHandler


public interface IGPEErrorHandler
This interface defines the GPE error handler. It has methods to register the errors and the warnings that can happen wherear a parser is reading or writing a file.
Author:
Jorge Piera Llodrá (jorge.piera@iver.es), Carlos Sánchez Periñán (sanchez_carper@gva.es)
  • Method Details

    • addError

      void addError(Throwable e)
      This method is invoked when a parser has found an error that has to stop the reading or the writing process
      Parameters:
      e - The detected exception
    • getErrorsSize

      int getErrorsSize()
    • getErrorAt

      Throwable getErrorAt(int i)
    • addWarning

      void addWarning(Throwable e)
      This method is invoke when a parser has detected a error, but it is able to manage it by itself
      Parameters:
      e - The detected exception
    • getWarningsSize

      int getWarningsSize()
    • getWarningAt

      Throwable getWarningAt(int i)