|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.osgi.service.cm.ConfigurationException
public class ConfigurationException
An Exception
class to inform the Configuration Admin service
of problems with configuration data.
Constructor Summary | |
---|---|
ConfigurationException(String property,
String reason)
Create a ConfigurationException object. |
|
ConfigurationException(String property,
String reason,
Throwable cause)
Create a ConfigurationException object. |
Method Summary | |
---|---|
Throwable |
getCause()
Returns the cause of this exception or null if no cause was
set. |
String |
getProperty()
Return the property name that caused the failure or null. |
String |
getReason()
Return the reason for this exception. |
Throwable |
initCause(Throwable cause)
Initializes the cause of this exception to the specified value. |
Methods inherited from class java.lang.Throwable |
---|
fillInStackTrace, getLocalizedMessage, getMessage, printStackTrace, printStackTrace, printStackTrace, toString |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public ConfigurationException(String property, String reason)
ConfigurationException
object.
property
- name of the property that caused the problem,
null
if no specific property was the causereason
- reason for failurepublic ConfigurationException(String property, String reason, Throwable cause)
ConfigurationException
object.
property
- name of the property that caused the problem,
null
if no specific property was the causereason
- reason for failurecause
- The cause of this exception.Method Detail |
---|
public String getProperty()
public String getReason()
public Throwable getCause()
null
if no cause was
set.
null
if no cause was
set.public Throwable initCause(Throwable cause)
cause
- The cause of this exception.
IllegalArgumentException
- If the specified cause is this
exception.
IllegalStateException
- If the cause of this exception has already
been set.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |