org.clapper.util.config
Class NoSuchSectionException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by org.clapper.util.misc.NestedException
              extended by org.clapper.util.config.ConfigurationException
                  extended by org.clapper.util.config.NoSuchSectionException
All Implemented Interfaces:
java.io.Serializable

public class NoSuchSectionException
extends ConfigurationException

A NoSuchSectionException is thrown by the Configuration class to signify that a requested configuration section does not exist.

Version:
$Revision: 6735 $
Author:
Copyright © 2004-2007 Brian M. Clapper
See Also:
ConfigurationException, Serialized Form

Constructor Summary
NoSuchSectionException(java.lang.String sectionName)
          Constructs an exception.
 
Method Summary
 java.lang.String getSectionName()
          Gets the section 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
 

Constructor Detail

NoSuchSectionException

public NoSuchSectionException(java.lang.String sectionName)
Constructs an exception.

Parameters:
sectionName - the section name to which the exception pertains
Method Detail

getSectionName

public java.lang.String getSectionName()
Gets the section name associated with this exception.

Returns:
the section name


Copyright © 2004-2007 Brian M. Clapper. All Rights Reserved.