Class RDFDefaultErrorHandler

  • All Implemented Interfaces:
    RDFErrorHandler

    public class RDFDefaultErrorHandler
    extends java.lang.Object
    implements RDFErrorHandler
    The default error handler for I/O.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static org.slf4j.Logger logger  
      static boolean silent
      Change this global to make all RDFDefaultErrorHandler's silent! Intended for testing purposes only.
    • Constructor Summary

      Constructors 
      Constructor Description
      RDFDefaultErrorHandler()
      Creates new RDFDefaultErrorHandler
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void error​(java.lang.Exception e)
      report an error
      void fatalError​(java.lang.Exception e)
      report a catastrophic error.
      void warning​(java.lang.Exception e)
      report a warning
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • silent

        public static boolean silent
        Change this global to make all RDFDefaultErrorHandler's silent! Intended for testing purposes only.
      • logger

        public static final org.slf4j.Logger logger
    • Constructor Detail

      • RDFDefaultErrorHandler

        public RDFDefaultErrorHandler()
        Creates new RDFDefaultErrorHandler
    • Method Detail

      • warning

        public void warning​(java.lang.Exception e)
        Description copied from interface: RDFErrorHandler
        report a warning
        Specified by:
        warning in interface RDFErrorHandler
        Parameters:
        e - an exception representing the error
      • error

        public void error​(java.lang.Exception e)
        Description copied from interface: RDFErrorHandler
        report an error
        Specified by:
        error in interface RDFErrorHandler
        Parameters:
        e - an exception representing the error
      • fatalError

        public void fatalError​(java.lang.Exception e)
        Description copied from interface: RDFErrorHandler
        report a catastrophic error. Must not return.
        Specified by:
        fatalError in interface RDFErrorHandler
        Parameters:
        e - an exception representing the error