| Package | Description | 
|---|---|
| org.apache.commons.configuration2.event | 
 
 This package contains interfaces and classes for receiving notifications
 about changes at configurations. 
 | 
| Modifier and Type | Field and Description | 
|---|---|
static EventType<ConfigurationErrorEvent> | 
ConfigurationErrorEvent.ANY
Constant for the common event type for all error events. 
 | 
static EventType<ConfigurationErrorEvent> | 
ConfigurationErrorEvent.READ
Constant for the event type indicating a read error. 
 | 
static EventType<ConfigurationErrorEvent> | 
ConfigurationErrorEvent.WRITE
Constant for the event type indicating a write error. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
<T extends ConfigurationErrorEvent> | 
BaseEventSource.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 Type | Method and Description | 
|---|---|
protected ConfigurationErrorEvent | 
BaseEventSource.createErrorEvent(EventType<? extends ConfigurationErrorEvent> type,
                EventType<?> opType,
                String propName,
                Object propValue,
                Throwable ex)
Creates a  
ConfigurationErrorEvent object based on the passed in
 parameters. | 
| Modifier and Type | Method and Description | 
|---|---|
protected ConfigurationErrorEvent | 
BaseEventSource.createErrorEvent(EventType<? extends ConfigurationErrorEvent> type,
                EventType<?> opType,
                String propName,
                Object propValue,
                Throwable ex)
Creates a  
ConfigurationErrorEvent object based on the passed in
 parameters. | 
| Constructor and Description | 
|---|
ConfigurationErrorEvent(Object source,
                       EventType<? extends ConfigurationErrorEvent> eventType,
                       EventType<?> operationType,
                       String propName,
                       Object propValue,
                       Throwable cause)
Creates a new instance of  
ConfigurationErrorEvent and sets all
 its properties. | 
Copyright © 2001–2020 The Apache Software Foundation. All rights reserved.