|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Objectjava.lang.Throwable
java.lang.Exception
org.jaffa.exceptions.CustomException
org.jaffa.exceptions.FrameworkException
org.jaffa.persistence.exceptions.UOWException
org.jaffa.persistence.engines.jdbcengine.datasource.exceptions.DataSourceCreationException
This exception is thrown if any error occurs while creating a DataSource.
| 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 |
public static final String SET_AUTO_COMMIT_FAILED
public static final String CONNECTION_FAILED
public static final String NEW_CONNECTION_OF_JDBC_PLUGIN_FAILED
public static final String JDBC_PLUGIN_CREATION_FAILED
public static final String CONNECTION_FACTORY_CREATION_FAILED
| Constructor Detail |
public DataSourceCreationException(String subCode)
subCode - The reason for the exception. This should be on of the statics defined in this class.
public DataSourceCreationException(String subCode,
Object[] arguments)
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.
public DataSourceCreationException(String subCode,
Object[] arguments,
Throwable cause)
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.
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||