Uses of Class
org.apache.commons.configuration2.event.ConfigurationErrorEvent
Package
Description
This package contains interfaces and classes for receiving notifications about changes at configurations.
-
Uses of ConfigurationErrorEvent in org.apache.commons.configuration2.event
Modifier and TypeFieldDescriptionstatic final EventType<ConfigurationErrorEvent>
ConfigurationErrorEvent.ANY
Constant for the common event type for all error events.static final EventType<ConfigurationErrorEvent>
ConfigurationErrorEvent.READ
Constant for the event type indicating a read error.static final EventType<ConfigurationErrorEvent>
ConfigurationErrorEvent.WRITE
Constant for the event type indicating a write error.Modifier and TypeMethodDescription<T extends ConfigurationErrorEvent>
voidBaseEventSource.fireError
(EventType<T> eventType, EventType<?> operationType, String propertyName, Object propertyValue, Throwable cause) Creates an error event object and delivers it to all registered error listeners of a matching type.Modifier and TypeMethodDescriptionprotected ConfigurationErrorEvent
BaseEventSource.createErrorEvent
(EventType<? extends ConfigurationErrorEvent> type, EventType<?> opType, String propName, Object propValue, Throwable ex) Creates aConfigurationErrorEvent
object based on the passed in parameters.Modifier and TypeMethodDescriptionprotected ConfigurationErrorEvent
BaseEventSource.createErrorEvent
(EventType<? extends ConfigurationErrorEvent> type, EventType<?> opType, String propName, Object propValue, Throwable ex) Creates aConfigurationErrorEvent
object based on the passed in parameters.ModifierConstructorDescriptionConfigurationErrorEvent
(Object source, EventType<? extends ConfigurationErrorEvent> eventType, EventType<?> operationType, String propName, Object propValue, Throwable cause) Creates a new instance ofConfigurationErrorEvent
and sets all its properties.