org.clapper.util.config
Class SectionExistsException

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.SectionExistsException
All Implemented Interfaces:
java.io.Serializable

public class SectionExistsException
extends ConfigurationException

A SectionExistsException is thrown by the Configuration class to signify that a requested configuration section already exists and cannot be created.

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

Constructor Summary
SectionExistsException(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

SectionExistsException

public SectionExistsException(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.