org.apache.hadoop.conf
Class ReconfigurationException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.apache.hadoop.conf.ReconfigurationException
All Implemented Interfaces:
Serializable

public class ReconfigurationException
extends Exception

Exception indicating that configuration property cannot be changed at run time.

See Also:
Serialized Form

Constructor Summary
ReconfigurationException()
          Create a new instance of ReconfigurationException.
ReconfigurationException(String property, String newVal, String oldVal)
          Create a new instance of ReconfigurationException.
ReconfigurationException(String property, String newVal, String oldVal, Throwable cause)
          Create a new instance of ReconfigurationException.
 
Method Summary
 String getNewValue()
          Get value to which property was supposed to be changed.
 String getOldValue()
          Get old value of property that cannot be changed.
 String getProperty()
          Get property that cannot be changed.
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ReconfigurationException

public ReconfigurationException()
Create a new instance of ReconfigurationException.


ReconfigurationException

public ReconfigurationException(String property,
                                String newVal,
                                String oldVal,
                                Throwable cause)
Create a new instance of ReconfigurationException.


ReconfigurationException

public ReconfigurationException(String property,
                                String newVal,
                                String oldVal)
Create a new instance of ReconfigurationException.

Method Detail

getProperty

public String getProperty()
Get property that cannot be changed.


getNewValue

public String getNewValue()
Get value to which property was supposed to be changed.


getOldValue

public String getOldValue()
Get old value of property that cannot be changed.



Copyright © 2013 Apache Software Foundation. All Rights Reserved.