LCOV - code coverage report
Current view: top level - libreoffice/solver/unxlngi6.pro/inc/udkapi/com/sun/star/java - WrongJavaVersionException.hpp (source / functions) Hit Total Coverage
Test: libreoffice_filtered.info Lines: 0 8 0.0 %
Date: 2012-12-27 Functions: 0 3 0.0 %
Legend: Lines: hit not hit

          Line data    Source code
       1             : #ifndef INCLUDED_COM_SUN_STAR_JAVA_WRONGJAVAVERSIONEXCEPTION_HPP
       2             : #define INCLUDED_COM_SUN_STAR_JAVA_WRONGJAVAVERSIONEXCEPTION_HPP
       3             : 
       4             : #include "sal/config.h"
       5             : 
       6             : #include "com/sun/star/java/WrongJavaVersionException.hdl"
       7             : 
       8             : #include "com/sun/star/uno/Exception.hpp"
       9             : #include "com/sun/star/uno/Type.hxx"
      10             : #include "cppu/unotype.hxx"
      11             : #include "osl/mutex.hxx"
      12             : #include "rtl/ustring.hxx"
      13             : #include "rtl/instance.hxx"
      14             : 
      15             : namespace com { namespace sun { namespace star { namespace java {
      16             : 
      17           0 : inline WrongJavaVersionException::WrongJavaVersionException() SAL_THROW(())
      18             :     : css::uno::Exception()
      19             :     , LowestSupportedVersion()
      20             :     , HighestSupportedVersion()
      21           0 :     , DetectedVersion()
      22           0 : { }
      23             : 
      24             : inline WrongJavaVersionException::WrongJavaVersionException(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< css::uno::XInterface >& Context_, const ::rtl::OUString& LowestSupportedVersion_, const ::rtl::OUString& HighestSupportedVersion_, const ::rtl::OUString& DetectedVersion_) SAL_THROW(())
      25             :     : css::uno::Exception(Message_, Context_)
      26             :     , LowestSupportedVersion(LowestSupportedVersion_)
      27             :     , HighestSupportedVersion(HighestSupportedVersion_)
      28             :     , DetectedVersion(DetectedVersion_)
      29             : { }
      30             : 
      31             : WrongJavaVersionException::WrongJavaVersionException(WrongJavaVersionException const & the_other): css::uno::Exception(the_other), LowestSupportedVersion(the_other.LowestSupportedVersion), HighestSupportedVersion(the_other.HighestSupportedVersion), DetectedVersion(the_other.DetectedVersion) {}
      32             : 
      33           0 : WrongJavaVersionException::~WrongJavaVersionException() {}
      34             : 
      35             : WrongJavaVersionException & WrongJavaVersionException::operator =(WrongJavaVersionException const & the_other) {
      36             :     //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
      37             :     css::uno::Exception::operator =(the_other);
      38             :     LowestSupportedVersion = the_other.LowestSupportedVersion;
      39             :     HighestSupportedVersion = the_other.HighestSupportedVersion;
      40             :     DetectedVersion = the_other.DetectedVersion;
      41             :     return *this;
      42             : }
      43             : 
      44             : } } } }
      45             : 
      46             : namespace com { namespace sun { namespace star { namespace java {
      47             : 
      48           0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::java::WrongJavaVersionException const *) {
      49             :     static typelib_TypeDescriptionReference * the_type = 0;
      50           0 :     if ( !the_type )
      51             :     {
      52           0 :         typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.java.WrongJavaVersionException" );
      53             :     }
      54           0 :     return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
      55             : }
      56             : 
      57             : } } } }
      58             : 
      59             : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::java::WrongJavaVersionException const *) SAL_THROW(()) {
      60             :     return ::cppu::UnoType< css::java::WrongJavaVersionException >::get();
      61             : }
      62             : 
      63             : #endif // INCLUDED_COM_SUN_STAR_JAVA_WRONGJAVAVERSIONEXCEPTION_HPP

Generated by: LCOV version 1.10