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:
  - Serialized Form

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IncorrectnessListenerImpl()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `notify(String message, Object origin)`
  Called to notify an incorrectness.

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## 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