org.clapper.util.config
Class NoSuchVariableException
java.lang.Object
java.lang.Throwable
java.lang.Exception
org.clapper.util.misc.NestedException
org.clapper.util.config.ConfigurationException
org.clapper.util.config.NoSuchVariableException
- All Implemented Interfaces:
- java.io.Serializable
public class NoSuchVariableException
- extends ConfigurationException
A NoSuchVariableException is thrown by the
Configuration class to signify that a requested configuration
variable does not exist.
- Version:
- $Revision: 6735 $
- Author:
- Copyright © 2004-2007 Brian M. Clapper
- See Also:
ConfigurationException,
Serialized Form
|
Constructor Summary |
NoSuchVariableException(java.lang.String sectionName,
java.lang.String variableName)
Constructs an exception. |
|
Method Summary |
java.lang.String |
getSectionName()
Gets the section name associated with this exception. |
java.lang.String |
getVariableName()
Gets the variable name associated with this exception. |
| Methods inherited from class org.clapper.util.misc.NestedException |
getMessage, getMessage, getMessages, getMessages, getMessages, getNestedException, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, printStackTrace, toString |
| Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, initCause, setStackTrace |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NoSuchVariableException
public NoSuchVariableException(java.lang.String sectionName,
java.lang.String variableName)
- Constructs an exception.
- Parameters:
sectionName - the section that doesn't have the variablevariableName - the variable name to which the exception pertains
getSectionName
public java.lang.String getSectionName()
- Gets the section name associated with this exception.
- Returns:
- the section name
getVariableName
public java.lang.String getVariableName()
- Gets the variable name associated with this exception.
- Returns:
- the variable name
Copyright © 2004-2007 Brian M. Clapper. All Rights Reserved.