Line data Source code
1 : #ifndef INCLUDED_COM_SUN_STAR_UCB_INTERACTIVEAUGMENTEDIOEXCEPTION_HPP
2 : #define INCLUDED_COM_SUN_STAR_UCB_INTERACTIVEAUGMENTEDIOEXCEPTION_HPP
3 :
4 : #include "sal/config.h"
5 :
6 : #include "com/sun/star/ucb/InteractiveAugmentedIOException.hdl"
7 :
8 : #include "com/sun/star/ucb/InteractiveIOException.hpp"
9 : #include "com/sun/star/uno/Any.hxx"
10 : #include "com/sun/star/uno/Sequence.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 :
16 : namespace com { namespace sun { namespace star { namespace ucb {
17 :
18 10015 : inline InteractiveAugmentedIOException::InteractiveAugmentedIOException() SAL_THROW(())
19 : : css::ucb::InteractiveIOException()
20 10015 : , Arguments()
21 10015 : { }
22 :
23 37 : inline InteractiveAugmentedIOException::InteractiveAugmentedIOException(const ::rtl::OUString& Message_, const ::com::sun::star::uno::Reference< css::uno::XInterface >& Context_, const css::task::InteractionClassification& Classification_, const css::ucb::IOErrorCode& Code_, const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& Arguments_) SAL_THROW(())
24 : : css::ucb::InteractiveIOException(Message_, Context_, Classification_, Code_)
25 37 : , Arguments(Arguments_)
26 37 : { }
27 :
28 0 : InteractiveAugmentedIOException::InteractiveAugmentedIOException(InteractiveAugmentedIOException const & the_other): css::ucb::InteractiveIOException(the_other), Arguments(the_other.Arguments) {}
29 :
30 10052 : InteractiveAugmentedIOException::~InteractiveAugmentedIOException() {}
31 :
32 0 : InteractiveAugmentedIOException & InteractiveAugmentedIOException::operator =(InteractiveAugmentedIOException const & the_other) {
33 : //TODO: Just like its implicitly-defined counterpart, this function definition is not exception-safe
34 0 : css::ucb::InteractiveIOException::operator =(the_other);
35 0 : Arguments = the_other.Arguments;
36 0 : return *this;
37 : }
38 :
39 : } } } }
40 :
41 : namespace com { namespace sun { namespace star { namespace ucb {
42 :
43 9907 : inline ::com::sun::star::uno::Type const & cppu_detail_getUnoType(SAL_UNUSED_PARAMETER css::ucb::InteractiveAugmentedIOException const *) {
44 : static typelib_TypeDescriptionReference * the_type = 0;
45 9907 : if ( !the_type )
46 : {
47 121 : typelib_static_type_init( &the_type, typelib_TypeClass_EXCEPTION, "com.sun.star.ucb.InteractiveAugmentedIOException" );
48 : }
49 9907 : return * reinterpret_cast< ::com::sun::star::uno::Type * >( &the_type );
50 : }
51 :
52 : } } } }
53 :
54 : inline ::com::sun::star::uno::Type const & SAL_CALL getCppuType(SAL_UNUSED_PARAMETER css::ucb::InteractiveAugmentedIOException const *) SAL_THROW(()) {
55 : return ::cppu::UnoType< css::ucb::InteractiveAugmentedIOException >::get();
56 : }
57 :
58 : #endif // INCLUDED_COM_SUN_STAR_UCB_INTERACTIVEAUGMENTEDIOEXCEPTION_HPP
|