#ifndef _DRAFTS_COM_SUN_STAR_FORM_INCOMPATIBLETYPESEXCEPTION_HPP_
#define _DRAFTS_COM_SUN_STAR_FORM_INCOMPATIBLETYPESEXCEPTION_HPP_

#ifndef _DRAFTS_COM_SUN_STAR_FORM_INCOMPATIBLETYPESEXCEPTION_HDL_
#include <drafts/com/sun/star/form/IncompatibleTypesException.hdl>
#endif

#ifndef _OSL_MUTEX_HXX_
#include <osl/mutex.hxx>
#endif

#ifndef _COM_SUN_STAR_UNO_TYPE_HXX_
#include <com/sun/star/uno/Type.hxx>
#endif

#ifndef _COM_SUN_STAR_UNO_EXCEPTION_HPP_
#include <com/sun/star/uno/Exception.hpp>
#endif

namespace drafts
{
namespace com
{
namespace sun
{
namespace star
{
namespace form
{

inline IncompatibleTypesException::IncompatibleTypesException() SAL_THROW( () )
    : ::com::sun::star::uno::Exception()
{ }

inline IncompatibleTypesException::IncompatibleTypesException(const ::rtl::OUString& __Message, const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& __Context) SAL_THROW( () )
    : ::com::sun::star::uno::Exception(__Message, __Context)
{ }

} // form
} // star
} // sun
} // com
} // drafts

#if (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500))
static typelib_TypeDescriptionReference * s_pType_drafts_com_sun_star_form_IncompatibleTypesException = 0;
#endif

inline const ::com::sun::star::uno::Type& SAL_CALL getCppuType( const ::drafts::com::sun::star::form::IncompatibleTypesException* ) SAL_THROW( () )
{
    #if ! (defined(__SUNPRO_CC) && (__SUNPRO_CC == 0x500))
    static typelib_TypeDescriptionReference * s_pType_drafts_com_sun_star_form_IncompatibleTypesException = 0;
    #endif

    if ( !s_pType_drafts_com_sun_star_form_IncompatibleTypesException )
    {
        typelib_static_type_init( &s_pType_drafts_com_sun_star_form_IncompatibleTypesException, typelib_TypeClass_EXCEPTION, "drafts.com.sun.star.form.IncompatibleTypesException" );
    }
    return * reinterpret_cast< ::com::sun::star::uno::Type * >( &s_pType_drafts_com_sun_star_form_IncompatibleTypesException );
}

#endif // _DRAFTS_COM_SUN_STAR_FORM_INCOMPATIBLETYPESEXCEPTION_HPP_
