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