Package org.htmlunit

# Interface IncorrectnessListener

All Known Implementing Classes:
  `IncorrectnessListenerImpl`, `SilentIncorrectnessListener`

public interface IncorrectnessListener
Interface to receive notification of incorrect information in HTML code (but not the parser messages), headers, ... that HtmlUnit can handle but that denote a badly written application.

- ## Method Summary

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

- ## Method Details

  - ### notify

    void notify(String message, Object origin)
    Called to notify an incorrectness.
    Parameters:
      `message` - the explanation of the incorrectness
      `origin` - the object that encountered this incorrectness