com.gargoylesoftware.htmlunit
Class IncorrectnessListenerImpl
java.lang.Object
com.gargoylesoftware.htmlunit.IncorrectnessListenerImpl
- All Implemented Interfaces:
- IncorrectnessListener, Serializable
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.
- Version:
- $Revision: 2132 $
- Author:
- Marc Guillemot, Ahmed Ashour
- See Also:
- Serialized Form
Method Summary |
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 |
IncorrectnessListenerImpl
public IncorrectnessListenerImpl()
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 incorrectnessorigin
- the object that encountered this incorrectness
Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.