summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Bregas <ab@openoffice.org>2001-06-29 14:20:08 +0000
committerAndreas Bregas <ab@openoffice.org>2001-06-29 14:20:08 +0000
commit99fec5bbf2bbfaa0ad312cc0a58d55c411fa2d3b (patch)
tree8f6bfad7425793ef4199571c91fddeb403c32fc1
parent5ef2de612d973bc747ff4a107e4e4c4ecb273429 (diff)
#88993# SbUnoClass::Find(): Catch IllegalArgumentException() when calling XIdlField::get()
-rw-r--r--basic/source/classes/sbunoobj.cxx9
1 files changed, 7 insertions, 2 deletions
diff --git a/basic/source/classes/sbunoobj.cxx b/basic/source/classes/sbunoobj.cxx
index affede4f3c1f..be9328ed5a3c 100644
--- a/basic/source/classes/sbunoobj.cxx
+++ b/basic/source/classes/sbunoobj.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: sbunoobj.cxx,v $
*
- * $Revision: 1.12 $
+ * $Revision: 1.13 $
*
- * last change: $Author: ab $ $Date: 2001-06-26 11:24:22 $
+ * last change: $Author: ab $ $Date: 2001-06-29 15:20:08 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -2248,6 +2248,11 @@ SbxVariable* SbUnoClass::Find( const XubString& rName, SbxClassType t )
{
StarBASIC::Error( ERRCODE_BASIC_EXCEPTION, implGetExceptionMsg( e2 ) );
}
+ catch( IllegalArgumentException& e3 )
+ {
+ StarBASIC::Error( ERRCODE_BASIC_EXCEPTION,
+ implGetExceptionMsg( e3, aIllegalArgumentExceptionName ) );
+ }
}
}
else