org.openjena.riot
Interface ErrorHandler


public interface ErrorHandler

An Error handler captures the policy for dealing with warnings, errors and fatal errors. Fatal errors mean termination of processing and must throw a RiotException. Errors and warnings may throw an exception to terminate processing or may return after, for example, logging a message. The exact policy is determined the error handler itself.


Method Summary
 void error(java.lang.String message, long line, long col)
          report an error : May not return (depends on error handler policy)
 void fatal(java.lang.String message, long line, long col)
          report a catastrophic error.
 void warning(java.lang.String message, long line, long col)
          report a warning
 

Method Detail

warning

void warning(java.lang.String message,
             long line,
             long col)
report a warning


error

void error(java.lang.String message,
           long line,
           long col)
report an error : May not return (depends on error handler policy)


fatal

void fatal(java.lang.String message,
           long line,
           long col)
report a catastrophic error. Must not return.



Copyright ? 2004, 2005, 2006, 2007, 2008, 2009 Hewlett-Packard Development Company, LP Copyright ? 2010 Talis Systems Ltd. Copyright ? 2010, 2011 Epimorphics Ltd.