Branch data Line data Source code
1 : : #ifndef INCLUDED_COM_SUN_STAR_CONFIGURATION_BACKEND_STRATUMCREATIONEXCEPTION_HPP
2 : : #define INCLUDED_COM_SUN_STAR_CONFIGURATION_BACKEND_STRATUMCREATIONEXCEPTION_HPP
3 : :
4 : : #include "sal/config.h"
5 : :
6 : : #include "com/sun/star/configuration/backend/StratumCreationException.hdl"
7 : :
8 : : #include "com/sun/star/configuration/backend/BackendSetupException.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 configuration { namespace backend {
16 : :
17 : 0 : inline StratumCreationException::StratumCreationException() SAL_THROW(())
18 : : : ::com::sun::star::configuration::backend::BackendSetupException()
19 : : , StratumService()
20 : 0 : , StratumData()
21 : 0 : { }
22 : :
23 : : inline StratumCreationException::StratumCreationException(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& Context_, const ::com::sun::star::uno::Any& BackendException_, const ::rtl::OUString& StratumService_, const ::rtl::OUString& StratumData_) SAL_THROW(())
24 : : : ::com::sun::star::configuration::backend::BackendSetupException(Message_, Context_, BackendException_)
25 : : , StratumService(StratumService_)
26 : : , StratumData(StratumData_)
27 : : { }
28 : :
29 : : StratumCreationException::StratumCreationException(StratumCreationException const & the_other): ::com::sun::star::configuration::backend::BackendSetupException(the_other), StratumService(the_other.StratumService), StratumData(the_other.StratumData) {}
30 : :
31 : 0 : StratumCreationException::~StratumCreationException() {}
32 : :
33 : : StratumCreationException & StratumCreationException::operator =(StratumCreationException const & the_other) {
34 : : //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
35 : : ::com::sun::star::configuration::backend::BackendSetupException::operator =(the_other);
36 : : StratumService = the_other.StratumService;
37 : : StratumData = the_other.StratumData;
38 : : return *this;
39 : : }
40 : :
41 : : } } } } }
42 : :
43 : : namespace com { namespace sun { namespace star { namespace configuration { namespace backend {
44 : :
45 : 0 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER ::com::sun::star::configuration::backend::StratumCreationException const *) {
46 : : static typelib_TypeDescriptionReference * the_type = 0;
47 [ # # ]: 0 : if ( !the_type )
48 : : {
49 : 0 : typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.configuration.backend.StratumCreationException" );
50 : : }
51 : 0 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
52 : : }
53 : :
54 : : } } } } }
55 : :
56 : : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER ::com::sun::star::configuration::backend::StratumCreationException const *) SAL_THROW(()) {
57 : : return ::cppu::UnoType< ::com::sun::star::configuration::backend::StratumCreationException >::get();
58 : : }
59 : :
60 : : #endif // INCLUDED_COM_SUN_STAR_CONFIGURATION_BACKEND_STRATUMCREATIONEXCEPTION_HPP
|