public interface ConfigurationErrorListener
An event listener interface to be implemented by observers that are interested in internal errors caused by processing of configuration properties.
Some configuration classes use an underlying storage where each access of a property can cause an exception. In earlier versions of this library such exceptions were typically ignored. By implementing this interface and registering at a configuration object as an error listener it is now possible for clients to receive notifications about those internal problems.
ConfigurationErrorEvent
Modifier and Type | Method and Description |
---|---|
void |
configurationError(ConfigurationErrorEvent event)
Notifies this listener that in an observed configuration an error
occurred.
|
void configurationError(ConfigurationErrorEvent event)
Throwable
object, can be obtained from the passed
in event object.event
- the event object with information about the errorCopyright © 2001–2013 The Apache Software Foundation. All rights reserved.