Package org.htmlunit

Interface IncorrectnessListener

  • All Known Implementing Classes:
    IncorrectnessListenerImpl

    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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      void notify​(java.lang.String message, java.lang.Object origin)
      Called to notify an incorrectness.
    • Method Detail

      • notify

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