summaryrefslogtreecommitdiff
path: root/io
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2001-01-08 12:03:49 +0000
committerJörg Budischewski <jbu@openoffice.org>2001-01-08 12:03:49 +0000
commit3f5db69c6a18ce8c11155fc916dbf73bddac62f5 (patch)
tree47f31c5d3b5389480a28ac3a17ab07acbec16231 /io
parent81cba0e38c06b971c64771b48aae7d44a273c08e (diff)
#82577# connector throws an exception, when given an empty string
Diffstat (limited to 'io')
-rw-r--r--io/source/connector/connector.cxx7
1 files changed, 4 insertions, 3 deletions
diff --git a/io/source/connector/connector.cxx b/io/source/connector/connector.cxx
index ef8354461..ded8be58a 100644
--- a/io/source/connector/connector.cxx
+++ b/io/source/connector/connector.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: connector.cxx,v $
*
- * $Revision: 1.3 $
+ * $Revision: 1.4 $
*
- * last change: $Author: jbu $ $Date: 2000-11-28 08:20:57 $
+ * last change: $Author: jbu $ $Date: 2001-01-08 13:03:49 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -187,8 +187,9 @@ namespace stoc_connector
if( ! container.getTokenCount() )
{
OUString message(RTL_CONSTASCII_USTRINGPARAM("Connector: empty connection string"));
+ throw ConnectionSetupException( message , Reference< XInterface > () );
}
-
+
Reference< XConnection > r;
if( 0 == container.getToken(0).compareToAscii( "pipe" ) )
{