Package org.htmlunit

Class IncorrectnessListenerImpl

java.lang.Object
org.htmlunit.IncorrectnessListenerImpl
All Implemented Interfaces:
Serializable, IncorrectnessListener

public class IncorrectnessListenerImpl extends Object implements IncorrectnessListener, Serializable
Default implementation of IncorrectnessListener configured on WebClient. Logs the notifications at WARN level to the originator's log.
See Also:
  • Field Details

    • LOG

      private static final org.apache.commons.logging.Log LOG
  • Constructor Details

    • IncorrectnessListenerImpl

      public IncorrectnessListenerImpl()
  • Method Details

    • notify

      public void notify(String message, Object origin)
      Called to notify an incorrectness.
      Specified by:
      notify in interface IncorrectnessListener
      Parameters:
      message - the explanation of the incorrectness
      origin - the object that encountered this incorrectness