Package org.gvsig.gpe.lib.api.parser
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 Summary
Modifier and TypeMethodDescriptionvoidThis method is invoked when a parser has found an error that has to stop the reading or the writing processvoidThis method is invoke when a parser has detected a error, but it is able to manage it by itselfgetErrorAt(int i) intgetWarningAt(int i) int
-
Method Details
-
addError
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
-
addWarning
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
-