diff options
author | Jens-Heiner Rechtien <hr@openoffice.org> | 2001-09-11 14:43:17 +0000 |
---|---|---|
committer | Jens-Heiner Rechtien <hr@openoffice.org> | 2001-09-11 14:43:17 +0000 |
commit | fd4d93eb2e17d5279e13a8e0c75de5027abb44e2 (patch) | |
tree | 2ad3c01048c0acd804a9e738b780dcf42534d797 /eventattacher/source | |
parent | new version for SRC640 (diff) | |
download | core-fd4d93eb2e17d5279e13a8e0c75de5027abb44e2.tar.gz core-fd4d93eb2e17d5279e13a8e0c75de5027abb44e2.zip |
#92075#: exception specification
Diffstat (limited to 'eventattacher/source')
-rw-r--r-- | eventattacher/source/eventattacher.cxx | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/eventattacher/source/eventattacher.cxx b/eventattacher/source/eventattacher.cxx index 5d777fb40b91..6cfcc3b6546f 100644 --- a/eventattacher/source/eventattacher.cxx +++ b/eventattacher/source/eventattacher.cxx @@ -2,9 +2,9 @@ * * $RCSfile: eventattacher.cxx,v $ * - * $Revision: 1.2 $ + * $Revision: 1.3 $ * - * last change: $Author: kz $ $Date: 2001-03-28 16:28:42 $ + * last change: $Author: hr $ $Date: 2001-09-11 15:43:17 $ * * The Contents of this file are made available subject to the terms of * either of the following licenses @@ -314,7 +314,7 @@ public: virtual void SAL_CALL removeListener(const Reference< XInterface >& xObject, const OUString& ListenerType, const OUString& AddListenerParam, const Reference< XEventListener >& aToRemoveListener) - throw( IllegalArgumentException, ServiceNotRegisteredException, IntrospectionException, RuntimeException ); + throw( IllegalArgumentException, IntrospectionException, RuntimeException ); // used by FilterAllListener_Impl Reference< XTypeConverter > getConverter() throw( Exception ); @@ -801,7 +801,7 @@ void EventAttacherImpl::removeListener const OUString& AddListenerParam, const Reference< XEventListener >& aToRemoveListener ) - throw( IllegalArgumentException, ServiceNotRegisteredException, IntrospectionException, RuntimeException ) + throw( IllegalArgumentException, IntrospectionException, RuntimeException ) { if( !xObject.is() || !aToRemoveListener.is() ) throw IllegalArgumentException(); @@ -809,7 +809,7 @@ void EventAttacherImpl::removeListener // Listener-Klasse per Reflection besorgen Reference< XIdlReflection > xReflection = getReflection(); if( !xReflection.is() ) - throw ServiceNotRegisteredException(); + throw IntrospectionException(); // Abmelden, dazu passende removeListener-Methode aufrufen // Zunaechst ueber Introspection gehen, da die Methoden in der gleichen @@ -820,7 +820,7 @@ void EventAttacherImpl::removeListener // Introspection-Service holen Reference< XIntrospection > xIntrospection = getIntrospection(); if( !xIntrospection.is() ) - throw ServiceNotRegisteredException(); + throw IntrospectionException(); // und inspecten Any aObjAny( &xObject, ::getCppuType( (const Reference< XInterface > *)0) ); |