Class DefaultChemObjectReaderErrorHandler

java.lang.Object
org.openscience.cdk.io.DefaultChemObjectReaderErrorHandler
All Implemented Interfaces:
IChemObjectReaderErrorHandler

public class DefaultChemObjectReaderErrorHandler extends Object implements IChemObjectReaderErrorHandler
Default implementation of the IChemObjectReaderErrorHandler interface. Emits log entries using the LoggingToolFactory.
Author:
Uli Fechner
  • Constructor Details

    • DefaultChemObjectReaderErrorHandler

      public DefaultChemObjectReaderErrorHandler()
      Constructs a new instance using the DefaultChemObjectReaderErrorHandler class as the source for logging purposes.
    • DefaultChemObjectReaderErrorHandler

      public DefaultChemObjectReaderErrorHandler(Class<?> clazz)
      Constructs a new instance using a given class as the source for logging purposes.
      Parameters:
      clazz - the class for which the ILoggingTool should be constructed
    • DefaultChemObjectReaderErrorHandler

      public DefaultChemObjectReaderErrorHandler(ILoggingTool logger)
      Constructs a new instance using the provided logging tool.
      Parameters:
      logger - the logger to be used for emitting log entries
  • Method Details