Package org.apache.hadoop.conf
Class ReconfigurationException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.apache.hadoop.conf.ReconfigurationException
- All Implemented Interfaces:
Serializable
Exception indicating that configuration property cannot be changed
at run time.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCreate a new instance ofReconfigurationException.ReconfigurationException(String property, String newVal, String oldVal) Create a new instance ofReconfigurationException.ReconfigurationException(String property, String newVal, String oldVal, Throwable cause) Create a new instance ofReconfigurationException. -
Method Summary
Modifier and TypeMethodDescriptionGet value to which property was supposed to be changed.Get old value of property that cannot be changed.Get property that cannot be changed.Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ReconfigurationException
public ReconfigurationException()Create a new instance ofReconfigurationException. -
ReconfigurationException
Create a new instance ofReconfigurationException.- Parameters:
property- property name.newVal- new value.oldVal- old value.cause- original exception.
-
ReconfigurationException
Create a new instance ofReconfigurationException.- Parameters:
property- property name.newVal- new value.oldVal- old value.
-
-
Method Details
-
getProperty
Get property that cannot be changed.- Returns:
- property info.
-
getNewValue
Get value to which property was supposed to be changed.- Returns:
- new value.
-
getOldValue
Get old value of property that cannot be changed.- Returns:
- old value.
-