diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 17:54:47 +0100 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2017-01-19 18:03:17 +0100 |
commit | f486e4a428be124627d89ce9f9ccf18eca9deb75 (patch) | |
tree | 02c036690cd1178d9de4a33d848ab5ae1d0f6bf2 /pyuno/inc | |
parent | New loplugin:dynexcspec: Add @throws documentation, reportdesign (diff) | |
download | core-f486e4a428be124627d89ce9f9ccf18eca9deb75.tar.gz core-f486e4a428be124627d89ce9f9ccf18eca9deb75.zip |
New loplugin:dynexcspec: Add @throws documentation, pyuno
Change-Id: I1888938e447f8ca115d326d5e4849d6b21904b04
Diffstat (limited to 'pyuno/inc')
-rw-r--r-- | pyuno/inc/pyuno.hxx | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/pyuno/inc/pyuno.hxx b/pyuno/inc/pyuno.hxx index bd1166683408..84e97646121a 100644 --- a/pyuno/inc/pyuno.hxx +++ b/pyuno/inc/pyuno.hxx @@ -215,6 +215,8 @@ public: throw ( css::uno::RuntimeException, std::exception ); /** Checks, whether the uno runtime is already initialized in the current python interpreter. + + @throws css::uno::RuntimeException */ static bool SAL_CALL isInitialized() throw (css::uno::RuntimeException); @@ -223,6 +225,10 @@ public: preconditions: python has been initialized before, the global interpreter lock is held and pyuno::Runtime has been initialized. + + @throws css::script::CannotConvertException + @throws css::lang::IllegalArgumentException + @throws css::uno::RuntimeException */ PyRef any2PyObject (const css::uno::Any &source ) const throw ( css::script::CannotConvertException, @@ -234,6 +240,8 @@ public: preconditions: python has been initialized before, the global interpreter lock is held and pyuno has been initialized + + @throws css::uno::RuntimeException */ css::uno::Any pyObject2Any ( const PyRef & source , enum ConversionMode mode = REJECT_UNO_ANY ) const @@ -313,6 +321,8 @@ public: precondition: The current thread MUST hold the global interpreter lock. postcondition: The current thread does not hold the global interpreter lock anymore. + + @throws css::uno::RuntimeException */ PyThreadDetach() throw ( css::uno::RuntimeException ); /** Acquires the global interpreter lock again |