office-gobmx/bridges/test/inter_libs_exc/thrower.cxx
2002-08-19 11:49:48 +00:00

18 lines
328 B
C++

#include "share.h"
using namespace ::rtl;
using namespace ::com::sun::star;
using namespace ::com::sun::star::uno;
static void SAL_CALL throws_exc()
{
throw lang::IllegalArgumentException(
OUSTR("bla"), Reference< XInterface >(), 0 );
}
extern "C" t_throws_exc SAL_CALL get_thrower()
{
return throws_exc;
}