From 92fe8838f7c6e2bd411b381a77f0fc4c43272b1d Mon Sep 17 00:00:00 2001 From: Caolán McNamara Date: Wed, 9 Jul 2014 09:05:50 +0100 Subject: coverity#707382 Uncaught exception and coverity#707383 Uncaught exception coverity#707384 Uncaught exception coverity#707385 Uncaught exception coverity#707386 Uncaught exception coverity#707387 Uncaught exception coverity#707388 Uncaught exception coverity#707389 Uncaught exception coverity#707390 Uncaught exception coverity#707391 Uncaught exception coverity#707409 Uncaught exception coverity#707411 Uncaught exception coverity#707413 Uncaught exception coverity#707414 Uncaught exception coverity#706919 Uncaught exception coverity#706920 Uncaught exception coverity#706933 Uncaught exception coverity#706935 Uncaught exception coverity#706968 Uncaught exception coverity#706970 Uncaught exception coverity#706973 Uncaught exception coverity#706974 Uncaught exception coverity#707032 Uncaught exception coverity#707044 Uncaught exception coverity#738455 Uncaught exception coverity#738456 Uncaught exception Change-Id: Ifd4c0a2b6b4ddcb5df01a951b8d56435ee32d754 --- include/vbahelper/vbahelper.hxx | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'include/vbahelper') diff --git a/include/vbahelper/vbahelper.hxx b/include/vbahelper/vbahelper.hxx index e40357d29ff0..3e9fa2108129 100644 --- a/include/vbahelper/vbahelper.hxx +++ b/include/vbahelper/vbahelper.hxx @@ -240,11 +240,18 @@ public: class VBAHELPER_DLLPUBLIC DebugHelper { public: - static void exception( const OUString& DetailedMessage, const css::uno::Exception& ex, int err, const OUString& /*additionalArgument*/ ) throw( css::script::BasicErrorException ); + static void basicexception( const OUString& DetailedMessage, const css::uno::Exception& ex, int err, const OUString& /*additionalArgument*/ ) throw( css::script::BasicErrorException ); - static void exception( int err, const OUString& additionalArgument ) throw( css::script::BasicErrorException ); + static void basicexception( int err, const OUString& additionalArgument ) throw( css::script::BasicErrorException ); + + static void basicexception( const css::uno::Exception& ex ) throw( css::script::BasicErrorException ); + + static void runtimeexception( const OUString& DetailedMessage, const css::uno::Exception& ex, int err, const OUString& /*additionalArgument*/ ) throw( css::uno::RuntimeException ); + + static void runtimeexception( int err, const OUString& additionalArgument ) throw( css::uno::RuntimeException ); + + static void runtimeexception( const css::uno::Exception& ex ) throw( css::uno::RuntimeException ); - static void exception( const css::uno::Exception& ex ) throw( css::script::BasicErrorException ); }; } // vba -- cgit