From fd4d93eb2e17d5279e13a8e0c75de5027abb44e2 Mon Sep 17 00:00:00 2001 From: Jens-Heiner Rechtien Date: Tue, 11 Sep 2001 14:43:17 +0000 Subject: #92075#: exception specification --- eventattacher/source/eventattacher.cxx | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'eventattacher') 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) ); -- cgit