diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-01 13:50:54 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2007-11-01 13:50:54 +0000 |
commit | 74c4a5fa3f032eddd2744286c280f860be126a8c (patch) | |
tree | 403e5875b7b4481ecc02f590deb909aa2bfb95c4 /connectivity/source/drivers/jdbc/JConnection.cxx | |
parent | 91688f81bf27f475f4a3c25a732ce376c03a17c0 (diff) |
INTEGRATION: CWS dba24b (1.5.26); FILE MERGED
2007/09/28 11:14:10 oj 1.5.26.2: RESYNC: (1.5-1.6); FILE MERGED
2007/08/31 09:21:59 oj 1.5.26.1: #i73634# check if driver name is empty and throw if so
Diffstat (limited to 'connectivity/source/drivers/jdbc/JConnection.cxx')
-rw-r--r-- | connectivity/source/drivers/jdbc/JConnection.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/connectivity/source/drivers/jdbc/JConnection.cxx b/connectivity/source/drivers/jdbc/JConnection.cxx index 4da8d7e57c1e..80eba083d24f 100644 --- a/connectivity/source/drivers/jdbc/JConnection.cxx +++ b/connectivity/source/drivers/jdbc/JConnection.cxx @@ -4,9 +4,9 @@ * * $RCSfile: JConnection.cxx,v $ * - * $Revision: 1.6 $ + * $Revision: 1.7 $ * - * last change: $Author: hr $ $Date: 2007-09-26 14:29:37 $ + * last change: $Author: hr $ $Date: 2007-11-01 14:50:54 $ * * The Contents of this file are made available subject to * the terms of GNU Lesser General Public License Version 2.1. @@ -867,6 +867,7 @@ void java_sql_Connection::loadDriverFromProperties( if ( !aStr.getLength() ) { m_aLogger.log( LogLevel::SEVERE, STR_LOG_NO_DRIVER_CLASS ); + throw SQLException(::rtl::OUString::createFromAscii("The specified driver was empty!"),*this,::rtl::OUString(),1000,Any()); } else { |