org.jaffa.persistence.engines.jdbcengine.datasource.exceptions
Class DataSourceCreationException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended byorg.jaffa.exceptions.CustomException
              extended byorg.jaffa.exceptions.FrameworkException
                  extended byorg.jaffa.persistence.exceptions.UOWException
                      extended byorg.jaffa.persistence.engines.jdbcengine.datasource.exceptions.DataSourceCreationException
All Implemented Interfaces:
Serializable

public class DataSourceCreationException
extends UOWException

This exception is thrown if any error occurs while creating a DataSource.

See Also:
Serialized Form

Field Summary
static String CONNECTION_FACTORY_CREATION_FAILED
          One of the reasons for throwing this exception
static String CONNECTION_FAILED
          One of the reasons for throwing this exception
static String JDBC_PLUGIN_CREATION_FAILED
          One of the reasons for throwing this exception
static String NEW_CONNECTION_OF_JDBC_PLUGIN_FAILED
          One of the reasons for throwing this exception
static String SET_AUTO_COMMIT_FAILED
          One of the reasons for throwing this exception
 
Fields inherited from class org.jaffa.exceptions.CustomException
m_arguments
 
Constructor Summary
DataSourceCreationException(String subCode)
          Creates an exception with the errorCode.
DataSourceCreationException(String subCode, Object[] arguments)
          Creates an exception with the errorCode and a cause.
DataSourceCreationException(String subCode, Object[] arguments, Throwable cause)
          Creates an exception with the errorCode and a cause.
 
Methods inherited from class org.jaffa.exceptions.CustomException
getArguments, getLocalizedMessage, getMessage
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

SET_AUTO_COMMIT_FAILED

public static final String SET_AUTO_COMMIT_FAILED
One of the reasons for throwing this exception

See Also:
Constant Field Values

CONNECTION_FAILED

public static final String CONNECTION_FAILED
One of the reasons for throwing this exception

See Also:
Constant Field Values

NEW_CONNECTION_OF_JDBC_PLUGIN_FAILED

public static final String NEW_CONNECTION_OF_JDBC_PLUGIN_FAILED
One of the reasons for throwing this exception

See Also:
Constant Field Values

JDBC_PLUGIN_CREATION_FAILED

public static final String JDBC_PLUGIN_CREATION_FAILED
One of the reasons for throwing this exception

See Also:
Constant Field Values

CONNECTION_FACTORY_CREATION_FAILED

public static final String CONNECTION_FACTORY_CREATION_FAILED
One of the reasons for throwing this exception

See Also:
Constant Field Values
Constructor Detail

DataSourceCreationException

public DataSourceCreationException(String subCode)
Creates an exception with the errorCode.

Parameters:
subCode - The reason for the exception. This should be on of the statics defined in this class.

DataSourceCreationException

public DataSourceCreationException(String subCode,
                                   Object[] arguments)
Creates an exception with the errorCode and a cause.

Parameters:
subCode - The reason for the exception. This should be on of the statics defined in this class.
arguments - the arguments, if any, that need to be merged into the error message from the resource bundle.

DataSourceCreationException

public DataSourceCreationException(String subCode,
                                   Object[] arguments,
                                   Throwable cause)
Creates an exception with the errorCode and a cause.

Parameters:
subCode - The reason for the exception. This should be on of the statics defined in this class.
arguments - the arguments, if any, that need to be merged into the error message from the resource bundle.
cause - the cause.


Copyright © 2002-2004 JAFFA Project.