org.sape.carbon.services.sql
Class StatementNotConfiguredException

java.lang.Object
  |
  +--java.lang.Throwable
        |
        +--java.lang.Exception
              |
              +--org.sape.carbon.core.exception.BaseException
                    |
                    +--org.sape.carbon.services.sql.StatementFactoryException
                          |
                          +--org.sape.carbon.services.sql.StatementNotConfiguredException
All Implemented Interfaces:
Exceptionable, Serializable

public class StatementNotConfiguredException
extends StatementFactoryException

This exception denotes a failure to find the configuration for a named statement on the specified statement factory. Copyright 2002 Sapient

Since:
carbon 1.2
Version:
$Revision: 1.6 $($Author: dvoet $ / $Date: 2003/05/05 21:21:36 $)
Author:
Greg Hinkle, December 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
StatementNotConfiguredException(Class sourceClass, String queryName, String statementFactoryName)
          Constructor for StatementFactoryException
 
Method Summary
 SeverityEnum getSeverity()
          This method must be overriden by subclasses so that they may declare their severity
 
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

StatementNotConfiguredException

public StatementNotConfiguredException(Class sourceClass,
                                       String queryName,
                                       String statementFactoryName)
Constructor for StatementFactoryException

Parameters:
sourceClass - The source class of this exception
queryName - name of the query that is not properly configured
statementFactoryName - name of the statement factory containing the incorrectly configured query
Method Detail

getSeverity

public SeverityEnum getSeverity()
Description copied from class: BaseException
This method must be overriden by subclasses so that they may declare their severity

Specified by:
getSeverity in interface Exceptionable
Overrides:
getSeverity in class StatementFactoryException
Returns:
SeverityEnum.INFO


Copyright 1999-2003 Sapient Corporation. All Rights Reserved.