Package org.htmlunit
Class IncorrectnessListenerImpl
- java.lang.Object
-
- org.htmlunit.IncorrectnessListenerImpl
-
- All Implemented Interfaces:
java.io.Serializable
,IncorrectnessListener
public class IncorrectnessListenerImpl extends java.lang.Object implements IncorrectnessListener, java.io.Serializable
Default implementation ofIncorrectnessListener
configured onWebClient
. Logs the notifications at WARN level to the originator's log.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IncorrectnessListenerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
notify(java.lang.String message, java.lang.Object origin)
Called to notify an incorrectness.
-
-
-
Method Detail
-
notify
public void notify(java.lang.String message, java.lang.Object origin)
Called to notify an incorrectness.- Specified by:
notify
in interfaceIncorrectnessListener
- Parameters:
message
- the explanation of the incorrectnessorigin
- the object that encountered this incorrectness
-
-