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 Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
LOG
private static final org.apache.commons.logging.Log LOG
-
-
Constructor Details
-
IncorrectnessListenerImpl
public IncorrectnessListenerImpl()
-
-
Method Details
-
notify
Called to notify an incorrectness.- Specified by:
notify
in interfaceIncorrectnessListener
- Parameters:
message
- the explanation of the incorrectnessorigin
- the object that encountered this incorrectness
-