org.sape.carbon.core.config.format
Class ConfigurationFormatException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sape.carbon.core.exception.BaseException
                    |
                    +--org.sape.carbon.core.config.ConfigurationException
                          |
                          +--org.sape.carbon.core.config.format.ConfigurationFormatException
All Implemented Interfaces:
Exceptionable, Serializable

public class ConfigurationFormatException
extends ConfigurationException

Exception thrown when there is a problem parsing a configuration file. This could be that the overall format of the file is bad or an individual configuration attribute is not in the correct format for its type.

Copyright 2002 Sapient

Since:
carbon 1.0
Version:
$Revision: 1.14 $($Author: dvoet $ / $Date: 2003/05/05 21:21:16 $)
Author:
Greg Hinkle, January 2002
See Also:
Serialized Form

Field Summary
 
Fields inherited from class org.sape.carbon.core.exception.BaseException
delegatedException
 
Fields inherited from class java.lang.Exception
 
Fields inherited from class java.lang.Throwable
 
Constructor Summary
ConfigurationFormatException(Class sourceClass, String message)
          Constructor for ConfigurationFormatException.
ConfigurationFormatException(Class sourceClass, String message, Throwable cause)
          Constructor for ConfigurationFormatException.
 
Methods inherited from class org.sape.carbon.core.config.ConfigurationException
getSeverity
 
Methods inherited from class org.sape.carbon.core.exception.BaseException
getCause, getExceptionSource, getMessage, toString
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ConfigurationFormatException

public ConfigurationFormatException(Class sourceClass,
                                    String message)
Constructor for ConfigurationFormatException.

Parameters:
sourceClass - The source class of this exception
message - string information relating to this exception

ConfigurationFormatException

public ConfigurationFormatException(Class sourceClass,
                                    String message,
                                    Throwable cause)
Constructor for ConfigurationFormatException.

Parameters:
sourceClass - The source class of this exception
message - string information relating to this exception
cause - a throwable that can be considered the cause of the current exception (used in levelizing exceptions)


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.