diff options
author | Jörg Budischewski <jbu@openoffice.org> | 2001-01-08 12:03:49 +0000 |
---|---|---|
committer | Jörg Budischewski <jbu@openoffice.org> | 2001-01-08 12:03:49 +0000 |
commit | 3f5db69c6a18ce8c11155fc916dbf73bddac62f5 (patch) | |
tree | 47f31c5d3b5389480a28ac3a17ab07acbec16231 /io | |
parent | 81cba0e38c06b971c64771b48aae7d44a273c08e (diff) |
#82577# connector throws an exception, when given an empty string
Diffstat (limited to 'io')
-rw-r--r-- | io/source/connector/connector.cxx | 7 |
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" ) ) { |