summaryrefslogtreecommitdiff
path: root/io/source/acceptor
diff options
context:
space:
mode:
authorJörg Budischewski <jbu@openoffice.org>2001-01-08 09:30:15 +0000
committerJörg Budischewski <jbu@openoffice.org>2001-01-08 09:30:15 +0000
commit1538cb3039816b439af2be27dabb344bef886037 (patch)
tree10d5ccb5e49f39b4858ad5a41d5c7e57252f4278 /io/source/acceptor
parentcb96c707c9fb86f328df45bca6b380fa37d9f2fc (diff)
#82576# switched to IllegalArgumentException for an empty string
Diffstat (limited to 'io/source/acceptor')
-rw-r--r--io/source/acceptor/acceptor.cxx10
1 files changed, 6 insertions, 4 deletions
diff --git a/io/source/acceptor/acceptor.cxx b/io/source/acceptor/acceptor.cxx
index ec6e11c87067..1b257e27d89f 100644
--- a/io/source/acceptor/acceptor.cxx
+++ b/io/source/acceptor/acceptor.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: acceptor.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: jbu $ $Date: 2001-01-08 09:40:11 $
+ * last change: $Author: jbu $ $Date: 2001-01-08 10:30:15 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -247,8 +247,10 @@ namespace io_acceptor
TokenContainer container( sConnectionDescription );
if( ! container.getTokenCount() )
{
- throw ConnectionSetupException( OUString( RTL_CONSTASCII_USTRINGPARAM( "empty connection string" ) ),
- Reference< XInterface > () );
+ throw IllegalArgumentException(
+ OUString( RTL_CONSTASCII_USTRINGPARAM( "empty connection string" ) ),
+ Reference< XInterface > (),
+ 0 );
}
if( 0 == container.getToken(0).compareToAscii("pipe") )