Exception class to inform the Configuration Admin service of
problems with configuration data.
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private static final long |
| Access | Constructor and Description |
|---|---|
| public | ConfigurationException(String
name of the property that caused the problem,
property, String null if no specific property was the causereason for failure reason)Create a |
| public | ConfigurationException(String
name of the property that caused the problem,
property, String null if no specific property was the causereason for failure reason, Throwable The cause of this exception. cause)Create a |
| Modifier and Type | Method and Description |
|---|---|
| public Throwable | Returns: The cause of this exception ornull if no cause was set.Overrides java. Returns the cause of this exception or |
| public String | Returns: name of property or null if no specific property caused the problemReturn the property name that caused the failure or null. |
| public String | |
| public Throwable | Returns: This exception.The cause of this exception. cause)Overrides java. Initializes the cause of this exception to the specified value. |
| property | back to summary |
|---|---|
| private final String property | |
| reason | back to summary |
|---|---|
| private final String reason | |
| serialVersionUID | back to summary |
|---|---|
| private static final long serialVersionUID | |
| ConfigurationException | back to summary |
|---|---|
| public ConfigurationException(String property, String reason) Create a | |
| ConfigurationException | back to summary |
|---|---|
| public ConfigurationException(String property, String reason, Throwable cause) Create a | |
| getCause | back to summary |
|---|---|
| public Throwable getCause() Overrides java. Returns the cause of this exception or | |
| getProperty | back to summary |
|---|---|
| public String getProperty() Return the property name that caused the failure or null.
| |
| getReason | back to summary |
|---|---|
| public String getReason() Return the reason for this exception.
| |
| initCause | back to summary |
|---|---|
| public Throwable initCause(Throwable cause) Overrides java. Initializes the cause of this exception to the specified value.
| |