LCOV - code coverage report
Current view: top level - libreoffice/workdir/unxlngi6.pro/UnoApiHeadersTarget/udkapi/bootstrap/com/sun/star/uno - Exception.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 4 8 50.0 %
Date: 2012-12-27 Functions: 2 4 50.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_UNO_EXCEPTION_HPP
       2             : #define INCLUDED_COM_SUN_STAR_UNO_EXCEPTION_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/uno/Exception.hdl"
       7             : 
       8             : #include "com/sun/star/uno/XInterface.hpp"
       9             : #include "com/sun/star/uno/Reference.hxx"
      10             : #include "com/sun/star/uno/Type.hxx"
      11             : #include "cppu/unotype.hxx"
      12             : #include "osl/mutex.hxx"
      13             : #include "rtl/ustring.hxx"
      14             : #include "rtl/instance.hxx"
      15             : #include "sal/types.h"
      16             : #include "typelib/typeclass.h"
      17             : #include "typelib/typedescription.h"
      18             : 
      19             : namespace com { namespace sun { namespace star { namespace uno {
      20             : 
      21           0 : inline Exception::Exception() SAL_THROW(())
      22             :     : Message()
      23           0 :     , Context()
      24           0 : { }
      25             : 
      26           2 : inline Exception::Exception(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< css::uno::XInterface >& Context_) SAL_THROW(())
      27             :     : Message(Message_)
      28           2 :     , Context(Context_)
      29           2 : { }
      30             : 
      31           0 : Exception::Exception(Exception const & the_other): Message(the_other.Message), Context(the_other.Context) {}
      32             : 
      33           2 : Exception::~Exception() {}
      34             : 
      35             : Exception & Exception::operator =(Exception const & the_other) {
      36             :     //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
      37             :     Message = the_other.Message;
      38             :     Context = the_other.Context;
      39             :     return *this;
      40             : }
      41             : 
      42             : } } } }
      43             : 
      44             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER const css::uno::Exception *) SAL_THROW(()) {
      45             :     return ::cppu::UnoType< ::com::sun::star::uno::Exception >::get();
      46             : }
      47             : 
      48             : #endif // INCLUDED_COM_SUN_STAR_UNO_EXCEPTION_HPP

Generated by: LCOV version 1.10