Remove obsolete dynamic exception specifications from SDK example C++ code

GCC 11 trunk g++ defaults to C++17 now, so that CustomTarget_odk/build-examples
and CustomTarget_odk/build-examples_java would now fail with "error: ISO C++17
does not allow dynamic exception specifications".

550e0e42d9 "Remove dynamic exception
specifications from cppumaker-generated code" had long since removed the
exception specifications from the underlying (C++ classes representing) UNO
interface types, so just remove them from the SDK example code, too.  An
alternative would have been to make sure those CustomTarget use an old C++
compiler standard.  However, testing that the examples work against a new
standard has probably similar merit to testing that they keep working against
some obsolete standard.

Change-Id: I8ec9ac2f9ced7bd1b746fb00d9bce94bf6aedda5
Reviewed-on: https://gerrit.libreoffice.org/c/core/+/99218
Tested-by: Jenkins
Reviewed-by: Stephan Bergmann <sbergman@redhat.com>
This commit is contained in:
Stephan Bergmann
2020-07-22 13:41:12 +02:00
parent 7adb6398dc
commit ddcc98fa50
34 changed files with 789 additions and 936 deletions

View File

@@ -93,7 +93,7 @@ WindowAttribute::CLOSEABLE;
* One-time initialization. We have to store the context information * One-time initialization. We have to store the context information
* given, like the frame we are bound to, into our members. * given, like the frame we are bound to, into our members.
*/ */
void SAL_CALL Addon::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException) void SAL_CALL Addon::initialize( const Sequence< Any >& aArguments )
{ {
Reference < XFrame > xFrame; Reference < XFrame > xFrame;
if ( aArguments.getLength() ) if ( aArguments.getLength() )
@@ -112,7 +112,6 @@ void SAL_CALL Addon::initialize( const Sequence< Any >& aArguments ) throw ( Exc
* contains an Add-On command. * contains an Add-On command.
*/ */
Reference< XDispatch > SAL_CALL Addon::queryDispatch( const URL& aURL, const ::rtl::OUString& sTargetFrameName, sal_Int32 nSearchFlags ) Reference< XDispatch > SAL_CALL Addon::queryDispatch( const URL& aURL, const ::rtl::OUString& sTargetFrameName, sal_Int32 nSearchFlags )
throw( RuntimeException )
{ {
Reference < XDispatch > xRet; Reference < XDispatch > xRet;
if ( aURL.Protocol.equalsAscii("org.openoffice.Office.addon.example:") ) if ( aURL.Protocol.equalsAscii("org.openoffice.Office.addon.example:") )
@@ -132,7 +131,7 @@ Reference< XDispatch > SAL_CALL Addon::queryDispatch( const URL& aURL, const ::r
* Called by the Office framework. * Called by the Office framework.
* We are ask to execute the given Add-On command URL. * We are ask to execute the given Add-On command URL.
*/ */
void SAL_CALL Addon::dispatch( const URL& aURL, const Sequence < PropertyValue >& lArgs ) throw (RuntimeException) void SAL_CALL Addon::dispatch( const URL& aURL, const Sequence < PropertyValue >& lArgs )
{ {
if ( aURL.Protocol.equalsAscii("org.openoffice.Office.addon.example:") ) if ( aURL.Protocol.equalsAscii("org.openoffice.Office.addon.example:") )
{ {
@@ -164,7 +163,6 @@ void SAL_CALL Addon::dispatch( const URL& aURL, const Sequence < PropertyValue >
* contain Add-On commands. * contain Add-On commands.
*/ */
Sequence < Reference< XDispatch > > SAL_CALL Addon::queryDispatches( const Sequence < DispatchDescriptor >& seqDescripts ) Sequence < Reference< XDispatch > > SAL_CALL Addon::queryDispatches( const Sequence < DispatchDescriptor >& seqDescripts )
throw( RuntimeException )
{ {
sal_Int32 nCount = seqDescripts.getLength(); sal_Int32 nCount = seqDescripts.getLength();
Sequence < Reference < XDispatch > > lDispatcher( nCount ); Sequence < Reference < XDispatch > > lDispatcher( nCount );
@@ -180,7 +178,7 @@ Sequence < Reference< XDispatch > > SAL_CALL Addon::queryDispatches( const Seque
* We are ask to query the given sequence of URLs and return dispatch objects if the URLs * We are ask to query the given sequence of URLs and return dispatch objects if the URLs
* contain Add-On commands. * contain Add-On commands.
*/ */
void SAL_CALL Addon::addStatusListener( const Reference< XStatusListener >& xControl, const URL& aURL ) throw (RuntimeException) void SAL_CALL Addon::addStatusListener( const Reference< XStatusListener >& xControl, const URL& aURL )
{ {
} }
@@ -189,19 +187,17 @@ void SAL_CALL Addon::addStatusListener( const Reference< XStatusListener >& xCon
* We are ask to query the given sequence of URLs and return dispatch objects if the URLs * We are ask to query the given sequence of URLs and return dispatch objects if the URLs
* contain Add-On commands. * contain Add-On commands.
*/ */
void SAL_CALL Addon::removeStatusListener( const Reference< XStatusListener >& xControl, const URL& aURL ) throw (RuntimeException) void SAL_CALL Addon::removeStatusListener( const Reference< XStatusListener >& xControl, const URL& aURL )
{ {
} }
// Helper functions for the implementation of UNO component interfaces. // Helper functions for the implementation of UNO component interfaces.
OUString Addon_getImplementationName() OUString Addon_getImplementationName()
throw (RuntimeException)
{ {
return OUString ( IMPLEMENTATION_NAME ); return OUString ( IMPLEMENTATION_NAME );
} }
Sequence< ::rtl::OUString > SAL_CALL Addon_getSupportedServiceNames() Sequence< ::rtl::OUString > SAL_CALL Addon_getSupportedServiceNames()
throw (RuntimeException)
{ {
Sequence < ::rtl::OUString > aRet(1); Sequence < ::rtl::OUString > aRet(1);
::rtl::OUString* pArray = aRet.getArray(); ::rtl::OUString* pArray = aRet.getArray();
@@ -210,7 +206,6 @@ throw (RuntimeException)
} }
Reference< XInterface > SAL_CALL Addon_createInstance( const Reference< XComponentContext > & rContext) Reference< XInterface > SAL_CALL Addon_createInstance( const Reference< XComponentContext > & rContext)
throw( Exception )
{ {
return (cppu::OWeakObject*) new Addon( rContext ); return (cppu::OWeakObject*) new Addon( rContext );
} }
@@ -218,19 +213,16 @@ Reference< XInterface > SAL_CALL Addon_createInstance( const Reference< XCompone
// Implementation of the recommended/mandatory interfaces of a UNO component. // Implementation of the recommended/mandatory interfaces of a UNO component.
// XServiceInfo // XServiceInfo
::rtl::OUString SAL_CALL Addon::getImplementationName( ) ::rtl::OUString SAL_CALL Addon::getImplementationName( )
throw (RuntimeException)
{ {
return Addon_getImplementationName(); return Addon_getImplementationName();
} }
sal_Bool SAL_CALL Addon::supportsService( const ::rtl::OUString& rServiceName ) sal_Bool SAL_CALL Addon::supportsService( const ::rtl::OUString& rServiceName )
throw (RuntimeException)
{ {
return cppu::supportsService(this, rServiceName); return cppu::supportsService(this, rServiceName);
} }
Sequence< ::rtl::OUString > SAL_CALL Addon::getSupportedServiceNames( ) Sequence< ::rtl::OUString > SAL_CALL Addon::getSupportedServiceNames( )
throw (RuntimeException)
{ {
return Addon_getSupportedServiceNames(); return Addon_getSupportedServiceNames();
} }

View File

@@ -85,47 +85,36 @@ public:
// XDispatchProvider // XDispatchProvider
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >
SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL, SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL,
const ::rtl::OUString& sTargetFrameName, sal_Int32 nSearchFlags ) const ::rtl::OUString& sTargetFrameName, sal_Int32 nSearchFlags );
throw( ::com::sun::star::uno::RuntimeException );
virtual ::com::sun::star::uno::Sequence < ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > > virtual ::com::sun::star::uno::Sequence < ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > >
SAL_CALL queryDispatches( SAL_CALL queryDispatches(
const ::com::sun::star::uno::Sequence < ::com::sun::star::frame::DispatchDescriptor >& seqDescriptor ) const ::com::sun::star::uno::Sequence < ::com::sun::star::frame::DispatchDescriptor >& seqDescriptor );
throw( ::com::sun::star::uno::RuntimeException );
// XDispatch // XDispatch
virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArgs ) const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArgs );
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL addStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl, virtual void SAL_CALL addStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl,
const ::com::sun::star::util::URL& aURL ) throw (::com::sun::star::uno::RuntimeException); const ::com::sun::star::util::URL& aURL );
virtual void SAL_CALL removeStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl, virtual void SAL_CALL removeStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl,
const ::com::sun::star::util::URL& aURL ) throw (::com::sun::star::uno::RuntimeException); const ::com::sun::star::util::URL& aURL );
// XInitialization // XInitialization
virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments );
throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
// XServiceInfo // XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName( ) virtual ::rtl::OUString SAL_CALL getImplementationName( );
throw (::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName );
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( );
throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( )
throw (::com::sun::star::uno::RuntimeException);
}; };
::rtl::OUString Addon_getImplementationName() ::rtl::OUString Addon_getImplementationName();
throw ( ::com::sun::star::uno::RuntimeException );
sal_Bool SAL_CALL Addon_supportsService( const ::rtl::OUString& ServiceName ) sal_Bool SAL_CALL Addon_supportsService( const ::rtl::OUString& ServiceName );
throw ( ::com::sun::star::uno::RuntimeException );
::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL Addon_getSupportedServiceNames( ) ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL Addon_getSupportedServiceNames( );
throw ( ::com::sun::star::uno::RuntimeException );
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
SAL_CALL Addon_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rContext) SAL_CALL Addon_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rContext);
throw ( ::com::sun::star::uno::Exception );
#endif // INCLUDED_EXAMPLES_COMPONENTS_ADDONS_PROTOCOLHANDLERADDON_CPP_ADDON_HXX #endif // INCLUDED_EXAMPLES_COMPONENTS_ADDONS_PROTOCOLHANDLERADDON_CPP_ADDON_HXX

View File

@@ -82,34 +82,25 @@ public:
virtual ~MyService1Impl() {} virtual ~MyService1Impl() {}
// XInterface // XInterface
virtual Any SAL_CALL queryInterface( Type const & type ) virtual Any SAL_CALL queryInterface( Type const & type );
throw (RuntimeException);
virtual void SAL_CALL acquire() virtual void SAL_CALL acquire()
throw (); throw ();
virtual void SAL_CALL release() virtual void SAL_CALL release()
throw (); throw ();
// XTypeProvider // XTypeProvider
virtual Sequence< Type > SAL_CALL getTypes() virtual Sequence< Type > SAL_CALL getTypes();
throw (RuntimeException); virtual Sequence< sal_Int8 > SAL_CALL getImplementationId();
virtual Sequence< sal_Int8 > SAL_CALL getImplementationId()
throw (RuntimeException);
// XSomething // XSomething
virtual OUString SAL_CALL methodOne( OUString const & str ) virtual OUString SAL_CALL methodOne( OUString const & str );
throw (RuntimeException); virtual OUString SAL_CALL methodTwo( );
virtual OUString SAL_CALL methodTwo( )
throw (RuntimeException);
// XServiceInfo // XServiceInfo
virtual OUString SAL_CALL getImplementationName() virtual OUString SAL_CALL getImplementationName();
throw (RuntimeException); virtual sal_Bool SAL_CALL supportsService( OUString const & serviceName );
virtual sal_Bool SAL_CALL supportsService( OUString const & serviceName ) virtual Sequence< OUString > SAL_CALL getSupportedServiceNames();
throw (RuntimeException);
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw (RuntimeException);
}; };
// XInterface implementation // XInterface implementation
Any MyService1Impl::queryInterface( Type const & type ) Any MyService1Impl::queryInterface( Type const & type )
throw (RuntimeException)
{ {
if (type.equals(::cppu::UnoType<XInterface>::get())) if (type.equals(::cppu::UnoType<XInterface>::get()))
{ {
@@ -163,7 +154,6 @@ void MyService1Impl::release()
// XTypeProvider implementation // XTypeProvider implementation
Sequence< Type > MyService1Impl::getTypes() Sequence< Type > MyService1Impl::getTypes()
throw (RuntimeException)
{ {
Sequence< Type > seq( 3 ); Sequence< Type > seq( 3 );
seq[ 0 ] = ::cppu::UnoType<lang::XTypeProvider>::get(); seq[ 0 ] = ::cppu::UnoType<lang::XTypeProvider>::get();
@@ -173,39 +163,33 @@ Sequence< Type > MyService1Impl::getTypes()
} }
Sequence< sal_Int8 > MyService1Impl::getImplementationId() Sequence< sal_Int8 > MyService1Impl::getImplementationId()
throw (RuntimeException)
{ {
return css::uno::Sequence<sal_Int8>(); return css::uno::Sequence<sal_Int8>();
} }
// XSomething implementation // XSomething implementation
OUString MyService1Impl::methodOne( OUString const & str ) OUString MyService1Impl::methodOne( OUString const & str )
throw (RuntimeException)
{ {
m_sData = str; m_sData = str;
return OUString( "called methodOne() of MyService1 implementation: " ) + m_sData; return OUString( "called methodOne() of MyService1 implementation: " ) + m_sData;
} }
OUString MyService1Impl::methodTwo( ) OUString MyService1Impl::methodTwo( )
throw (RuntimeException)
{ {
return OUString( "called methodTwo() of MyService1 implementation: " ) + m_sData; return OUString( "called methodTwo() of MyService1 implementation: " ) + m_sData;
} }
// XServiceInfo implementation // XServiceInfo implementation
OUString MyService1Impl::getImplementationName() OUString MyService1Impl::getImplementationName()
throw (RuntimeException)
{ {
// unique implementation name // unique implementation name
return OUString("my_module.my_sc_implementation.MyService1"); return OUString("my_module.my_sc_implementation.MyService1");
} }
sal_Bool MyService1Impl::supportsService( OUString const & serviceName ) sal_Bool MyService1Impl::supportsService( OUString const & serviceName )
throw (RuntimeException)
{ {
return cppu::supportsService(this, serviceName); return cppu::supportsService(this, serviceName);
} }
Sequence< OUString > MyService1Impl::getSupportedServiceNames() Sequence< OUString > MyService1Impl::getSupportedServiceNames()
throw (RuntimeException)
{ {
// this object only supports one service // this object only supports one service
OUString serviceName("my_module.MyService1"); OUString serviceName("my_module.MyService1");

View File

@@ -89,25 +89,18 @@ public:
// XInitialization will be called upon // XInitialization will be called upon
// createInstanceWithArguments[AndContext]() // createInstanceWithArguments[AndContext]()
virtual void SAL_CALL initialize( Sequence< Any > const & args ) virtual void SAL_CALL initialize( Sequence< Any > const & args );
throw (Exception);
// XSomething // XSomething
virtual OUString SAL_CALL methodOne( OUString const & str ) virtual OUString SAL_CALL methodOne( OUString const & str );
throw (RuntimeException); virtual OUString SAL_CALL methodTwo( );
virtual OUString SAL_CALL methodTwo( )
throw (RuntimeException);
// XServiceInfo // XServiceInfo
virtual OUString SAL_CALL getImplementationName() virtual OUString SAL_CALL getImplementationName();
throw (RuntimeException); virtual sal_Bool SAL_CALL supportsService( OUString const & serviceName );
virtual sal_Bool SAL_CALL supportsService( OUString const & serviceName ) virtual Sequence< OUString > SAL_CALL getSupportedServiceNames();
throw (RuntimeException);
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames()
throw (RuntimeException);
}; };
// XInitialization implementation // XInitialization implementation
void MyService2Impl::initialize( Sequence< Any > const & args ) void MyService2Impl::initialize( Sequence< Any > const & args )
throw (Exception)
{ {
if (args.getLength() != 1) if (args.getLength() != 1)
{ {
@@ -131,34 +124,29 @@ void MyService2Impl::initialize( Sequence< Any > const & args )
// XSomething implementation // XSomething implementation
OUString MyService2Impl::methodOne( OUString const & str ) OUString MyService2Impl::methodOne( OUString const & str )
throw (RuntimeException)
{ {
m_sData = str; m_sData = str;
return OUString( "called methodOne() of MyService2 implementation: " ) + m_sData; return OUString( "called methodOne() of MyService2 implementation: " ) + m_sData;
} }
OUString MyService2Impl::methodTwo( ) OUString MyService2Impl::methodTwo( )
throw (RuntimeException)
{ {
return OUString( "called methodTwo() of MyService2 implementation: " ) + m_sData; return OUString( "called methodTwo() of MyService2 implementation: " ) + m_sData;
} }
// XServiceInfo implementation // XServiceInfo implementation
OUString MyService2Impl::getImplementationName() OUString MyService2Impl::getImplementationName()
throw (RuntimeException)
{ {
// unique implementation name // unique implementation name
return OUString("my_module.my_sc_implementation.MyService2"); return OUString("my_module.my_sc_implementation.MyService2");
} }
sal_Bool MyService2Impl::supportsService( OUString const & serviceName ) sal_Bool MyService2Impl::supportsService( OUString const & serviceName )
throw (RuntimeException)
{ {
return cppu::supportsService(this, serviceName); return cppu::supportsService(this, serviceName);
} }
Sequence< OUString > MyService2Impl::getSupportedServiceNames() Sequence< OUString > MyService2Impl::getSupportedServiceNames()
throw (RuntimeException)
{ {
return getSupportedServiceNames_MyService2Impl(); return getSupportedServiceNames_MyService2Impl();
} }

View File

@@ -72,7 +72,7 @@ namespace connectivity
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xInterface, ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >& _xInterface,
::com::sun::star::lang::XComponent* _pObject); ::com::sun::star::lang::XComponent* _pObject);
void checkDisposed(sal_Bool _bThrow) throw ( ::com::sun::star::lang::DisposedException ); void checkDisposed(sal_Bool _bThrow);
template <class SELF, class WEAK> class OSubComponent template <class SELF, class WEAK> class OSubComponent
{ {
@@ -214,22 +214,22 @@ namespace connectivity
#define DECLARE_SERVICE_INFO() \ #define DECLARE_SERVICE_INFO() \
virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw (::com::sun::star::uno::RuntimeException); \ virtual ::rtl::OUString SAL_CALL getImplementationName( ); \
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException); \ virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) ; \
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException) \ virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) \
#define IMPLEMENT_SERVICE_INFO(classname, implasciiname, serviceasciiname) \ #define IMPLEMENT_SERVICE_INFO(classname, implasciiname, serviceasciiname) \
::rtl::OUString SAL_CALL classname::getImplementationName( ) throw (::com::sun::star::uno::RuntimeException) \ ::rtl::OUString SAL_CALL classname::getImplementationName( ) \
{ \ { \
return ::rtl::OUString::createFromAscii(implasciiname); \ return ::rtl::OUString::createFromAscii(implasciiname); \
} \ } \
::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL classname::getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException) \ ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL classname::getSupportedServiceNames( ) \
{ \ { \
::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1); \ ::com::sun::star::uno::Sequence< ::rtl::OUString > aSupported(1); \
aSupported[0] = ::rtl::OUString::createFromAscii(serviceasciiname); \ aSupported[0] = ::rtl::OUString::createFromAscii(serviceasciiname); \
return aSupported; \ return aSupported; \
} \ } \
sal_Bool SAL_CALL classname::supportsService( const ::rtl::OUString& _rServiceName ) throw(::com::sun::star::uno::RuntimeException) \ sal_Bool SAL_CALL classname::supportsService( const ::rtl::OUString& _rServiceName ) \
{ \ { \
return cppu::supportsService(this, _rServiceName); \ return cppu::supportsService(this, _rServiceName); \
} }

View File

@@ -78,7 +78,7 @@ void SAL_CALL OConnection::release() throw()
} }
void OConnection::construct(const ::rtl::OUString& url,const Sequence< PropertyValue >& info) throw(SQLException) void OConnection::construct(const ::rtl::OUString& url,const Sequence< PropertyValue >& info)
{ {
osl_atomic_increment( &m_refCount ); osl_atomic_increment( &m_refCount );
@@ -136,7 +136,7 @@ void OConnection::construct(const ::rtl::OUString& url,const Sequence< PropertyV
IMPLEMENT_SERVICE_INFO(OConnection, "com.sun.star.sdbc.drivers.skeleton.OConnection", "com.sun.star.sdbc.Connection") IMPLEMENT_SERVICE_INFO(OConnection, "com.sun.star.sdbc.drivers.skeleton.OConnection", "com.sun.star.sdbc.Connection")
Reference< XStatement > SAL_CALL OConnection::createStatement( ) throw(SQLException, RuntimeException) Reference< XStatement > SAL_CALL OConnection::createStatement( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -148,7 +148,7 @@ Reference< XStatement > SAL_CALL OConnection::createStatement( ) throw(SQLExcep
return xReturn; return xReturn;
} }
Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement( const ::rtl::OUString& _sSql ) throw(SQLException, RuntimeException) Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement( const ::rtl::OUString& _sSql )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -164,7 +164,7 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareStatement( const ::
return xReturn; return xReturn;
} }
Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall( const ::rtl::OUString& _sSql ) throw(SQLException, RuntimeException) Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall( const ::rtl::OUString& _sSql )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -173,7 +173,7 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall( const ::rtl::
return NULL; return NULL;
} }
::rtl::OUString SAL_CALL OConnection::nativeSQL( const ::rtl::OUString& _sSql ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL OConnection::nativeSQL( const ::rtl::OUString& _sSql )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
// when you need to transform SQL92 to you driver specific you can do it here // when you need to transform SQL92 to you driver specific you can do it here
@@ -181,14 +181,14 @@ Reference< XPreparedStatement > SAL_CALL OConnection::prepareCall( const ::rtl::
return _sSql; return _sSql;
} }
void SAL_CALL OConnection::setAutoCommit( sal_Bool autoCommit ) throw(SQLException, RuntimeException) void SAL_CALL OConnection::setAutoCommit( sal_Bool autoCommit )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
// here you have to set your commit mode please have a look at the jdbc documentation to get a clear explanation // here you have to set your commit mode please have a look at the jdbc documentation to get a clear explanation
} }
sal_Bool SAL_CALL OConnection::getAutoCommit( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OConnection::getAutoCommit( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -198,7 +198,7 @@ sal_Bool SAL_CALL OConnection::getAutoCommit( ) throw(SQLException, RuntimeExce
return sal_True; return sal_True;
} }
void SAL_CALL OConnection::commit( ) throw(SQLException, RuntimeException) void SAL_CALL OConnection::commit( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -206,7 +206,7 @@ void SAL_CALL OConnection::commit( ) throw(SQLException, RuntimeException)
// when your database does support transactions you should commit here // when your database does support transactions you should commit here
} }
void SAL_CALL OConnection::rollback( ) throw(SQLException, RuntimeException) void SAL_CALL OConnection::rollback( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -215,7 +215,7 @@ void SAL_CALL OConnection::rollback( ) throw(SQLException, RuntimeException)
// same as commit but for the other case // same as commit but for the other case
} }
sal_Bool SAL_CALL OConnection::isClosed( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OConnection::isClosed( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
@@ -223,7 +223,7 @@ sal_Bool SAL_CALL OConnection::isClosed( ) throw(SQLException, RuntimeException
return OConnection_BASE::rBHelper.bDisposed; return OConnection_BASE::rBHelper.bDisposed;
} }
Reference< XDatabaseMetaData > SAL_CALL OConnection::getMetaData( ) throw(SQLException, RuntimeException) Reference< XDatabaseMetaData > SAL_CALL OConnection::getMetaData( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -240,7 +240,7 @@ Reference< XDatabaseMetaData > SAL_CALL OConnection::getMetaData( ) throw(SQLEx
return xMetaData; return xMetaData;
} }
void SAL_CALL OConnection::setReadOnly( sal_Bool readOnly ) throw(SQLException, RuntimeException) void SAL_CALL OConnection::setReadOnly( sal_Bool readOnly )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -248,7 +248,7 @@ void SAL_CALL OConnection::setReadOnly( sal_Bool readOnly ) throw(SQLException,
// set you connection to readonly // set you connection to readonly
} }
sal_Bool SAL_CALL OConnection::isReadOnly( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OConnection::isReadOnly( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -257,7 +257,7 @@ sal_Bool SAL_CALL OConnection::isReadOnly( ) throw(SQLException, RuntimeExcepti
return sal_False; return sal_False;
} }
void SAL_CALL OConnection::setCatalog( const ::rtl::OUString& catalog ) throw(SQLException, RuntimeException) void SAL_CALL OConnection::setCatalog( const ::rtl::OUString& catalog )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -265,7 +265,7 @@ void SAL_CALL OConnection::setCatalog( const ::rtl::OUString& catalog ) throw(SQ
// if your database doesn't work with catalogs you go to next method otherwise you know what to do // if your database doesn't work with catalogs you go to next method otherwise you know what to do
} }
::rtl::OUString SAL_CALL OConnection::getCatalog( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL OConnection::getCatalog( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -275,7 +275,7 @@ void SAL_CALL OConnection::setCatalog( const ::rtl::OUString& catalog ) throw(SQ
return ::rtl::OUString(); return ::rtl::OUString();
} }
void SAL_CALL OConnection::setTransactionIsolation( sal_Int32 level ) throw(SQLException, RuntimeException) void SAL_CALL OConnection::setTransactionIsolation( sal_Int32 level )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -284,7 +284,7 @@ void SAL_CALL OConnection::setTransactionIsolation( sal_Int32 level ) throw(SQLE
/// please have a look at @see com.sun.star.sdbc.TransactionIsolation /// please have a look at @see com.sun.star.sdbc.TransactionIsolation
} }
sal_Int32 SAL_CALL OConnection::getTransactionIsolation( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL OConnection::getTransactionIsolation( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -294,7 +294,7 @@ sal_Int32 SAL_CALL OConnection::getTransactionIsolation( ) throw(SQLException,
return TransactionIsolation::NONE; return TransactionIsolation::NONE;
} }
Reference< ::com::sun::star::container::XNameAccess > SAL_CALL OConnection::getTypeMap( ) throw(SQLException, RuntimeException) Reference< ::com::sun::star::container::XNameAccess > SAL_CALL OConnection::getTypeMap( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OConnection_BASE::rBHelper.bDisposed); checkDisposed(OConnection_BASE::rBHelper.bDisposed);
@@ -304,13 +304,13 @@ Reference< ::com::sun::star::container::XNameAccess > SAL_CALL OConnection::getT
return NULL; return NULL;
} }
void SAL_CALL OConnection::setTypeMap( const Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(SQLException, RuntimeException) void SAL_CALL OConnection::setTypeMap( const Reference< ::com::sun::star::container::XNameAccess >& typeMap )
{ {
// the other way around // the other way around
} }
// XCloseable // XCloseable
void SAL_CALL OConnection::close( ) throw(SQLException, RuntimeException) void SAL_CALL OConnection::close( )
{ {
// we just dispose us // we just dispose us
{ {
@@ -322,18 +322,18 @@ void SAL_CALL OConnection::close( ) throw(SQLException, RuntimeException)
} }
// XWarningsSupplier // XWarningsSupplier
Any SAL_CALL OConnection::getWarnings( ) throw(SQLException, RuntimeException) Any SAL_CALL OConnection::getWarnings( )
{ {
// when you collected some warnings -> return it // when you collected some warnings -> return it
return Any(); return Any();
} }
void SAL_CALL OConnection::clearWarnings( ) throw(SQLException, RuntimeException) void SAL_CALL OConnection::clearWarnings( )
{ {
// you should clear your collected warnings here // you should clear your collected warnings here
} }
void OConnection::buildTypeInfo() throw( SQLException) void OConnection::buildTypeInfo()
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );

View File

@@ -101,15 +101,15 @@ namespace connectivity
sal_Bool m_bUseOldDateFormat; sal_Bool m_bUseOldDateFormat;
void buildTypeInfo() throw( ::com::sun::star::sdbc::SQLException); void buildTypeInfo();
public: public:
virtual void construct( const ::rtl::OUString& url,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info) throw(::com::sun::star::sdbc::SQLException); virtual void construct( const ::rtl::OUString& url,const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info);
OConnection(SkeletonDriver* _pDriver); OConnection(SkeletonDriver* _pDriver);
virtual ~OConnection(); virtual ~OConnection();
void closeAllStatements () throw( ::com::sun::star::sdbc::SQLException); void closeAllStatements ();
// OComponentHelper // OComponentHelper
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();
@@ -119,29 +119,29 @@ namespace connectivity
// XServiceInfo // XServiceInfo
DECLARE_SERVICE_INFO(); DECLARE_SERVICE_INFO();
// XConnection // XConnection
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XStatement > SAL_CALL createStatement( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XStatement > SAL_CALL createStatement( );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > SAL_CALL prepareStatement( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > SAL_CALL prepareStatement( const ::rtl::OUString& sql );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > SAL_CALL prepareCall( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XPreparedStatement > SAL_CALL prepareCall( const ::rtl::OUString& sql );
virtual ::rtl::OUString SAL_CALL nativeSQL( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL nativeSQL( const ::rtl::OUString& sql );
virtual void SAL_CALL setAutoCommit( sal_Bool autoCommit ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setAutoCommit( sal_Bool autoCommit );
virtual sal_Bool SAL_CALL getAutoCommit( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL getAutoCommit( );
virtual void SAL_CALL commit( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL commit( );
virtual void SAL_CALL rollback( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL rollback( );
virtual sal_Bool SAL_CALL isClosed( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isClosed( );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > SAL_CALL getMetaData( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XDatabaseMetaData > SAL_CALL getMetaData( );
virtual void SAL_CALL setReadOnly( sal_Bool readOnly ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setReadOnly( sal_Bool readOnly );
virtual sal_Bool SAL_CALL isReadOnly( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isReadOnly( );
virtual void SAL_CALL setCatalog( const ::rtl::OUString& catalog ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setCatalog( const ::rtl::OUString& catalog );
virtual ::rtl::OUString SAL_CALL getCatalog( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getCatalog( );
virtual void SAL_CALL setTransactionIsolation( sal_Int32 level ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setTransactionIsolation( sal_Int32 level );
virtual sal_Int32 SAL_CALL getTransactionIsolation( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getTransactionIsolation( );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getTypeMap( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess > SAL_CALL getTypeMap( );
virtual void SAL_CALL setTypeMap( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setTypeMap( const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap );
// XCloseable // XCloseable
virtual void SAL_CALL close( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL close( );
// XWarningsSupplier // XWarningsSupplier
virtual ::com::sun::star::uno::Any SAL_CALL getWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL getWarnings( );
virtual void SAL_CALL clearWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL clearWarnings( );
// should we use the catalog on filebased databases // should we use the catalog on filebased databases

View File

@@ -62,7 +62,7 @@ ODatabaseMetaData::~ODatabaseMetaData()
{ {
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getCatalogSeparator( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getCatalogSeparator( )
{ {
::rtl::OUString aVal; ::rtl::OUString aVal;
if(m_bUseCatalog) if(m_bUseCatalog)
@@ -72,136 +72,136 @@ ODatabaseMetaData::~ODatabaseMetaData()
return aVal; return aVal;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxBinaryLiteralLength( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxBinaryLiteralLength( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxRowSize( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxRowSize( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCatalogNameLength( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCatalogNameLength( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCharLiteralLength( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCharLiteralLength( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnNameLength( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnNameLength( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInIndex( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInIndex( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCursorNameLength( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxCursorNameLength( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxConnections( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxConnections( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInTable( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInTable( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatementLength( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatementLength( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTableNameLength( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTableNameLength( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTablesInSelect( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxTablesInSelect( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Bool SAL_CALL ODatabaseMetaData::doesMaxRowSizeIncludeBlobs( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::doesMaxRowSizeIncludeBlobs( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseQuotedIdentifiers( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseQuotedIdentifiers( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseIdentifiers( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::storesLowerCaseIdentifiers( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseQuotedIdentifiers( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseQuotedIdentifiers( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseIdentifiers( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::storesMixedCaseIdentifiers( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseQuotedIdentifiers( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseQuotedIdentifiers( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseIdentifiers( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::storesUpperCaseIdentifiers( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithAddColumn( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithAddColumn( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithDropColumn( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsAlterTableWithDropColumn( )
{ {
return sal_False; return sal_False;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxIndexLength( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxIndexLength( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns( )
{ {
return sal_False; return sal_False;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getCatalogTerm( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getCatalogTerm( )
{ {
::rtl::OUString aVal; ::rtl::OUString aVal;
if(m_bUseCatalog) if(m_bUseCatalog)
@@ -210,25 +210,25 @@ sal_Bool SAL_CALL ODatabaseMetaData::supportsNonNullableColumns( ) throw(SQLExc
return aVal; return aVal;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getIdentifierQuoteString( )
{ {
// normally this is " // normally this is "
::rtl::OUString aVal("\""); ::rtl::OUString aVal("\"");
return aVal; return aVal;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getExtraNameCharacters( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getExtraNameCharacters( )
{ {
::rtl::OUString aVal; ::rtl::OUString aVal;
return aVal; return aVal;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsDifferentTableCorrelationNames( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsDifferentTableCorrelationNames( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::isCatalogAtStart( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::isCatalogAtStart( )
{ {
sal_Bool bValue = sal_False; sal_Bool bValue = sal_False;
if(m_bUseCatalog) if(m_bUseCatalog)
@@ -237,529 +237,529 @@ sal_Bool SAL_CALL ODatabaseMetaData::isCatalogAtStart( ) throw(SQLException, Ru
return bValue; return bValue;
} }
sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionIgnoredInTransactions( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionIgnoredInTransactions( )
{ {
return sal_True; return sal_True;
} }
sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionCausesTransactionCommit( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::dataDefinitionCausesTransactionCommit( )
{ {
return sal_True; return sal_True;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsDataManipulationTransactionsOnly( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsDataManipulationTransactionsOnly( )
{ {
return sal_True; return sal_True;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsDataDefinitionAndDataManipulationTransactions( )
{ {
return sal_True; return sal_True;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedDelete( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedDelete( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedUpdate( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsPositionedUpdate( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossRollback( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossRollback( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossCommit( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenStatementsAcrossCommit( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossCommit( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossCommit( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossRollback( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsOpenCursorsAcrossRollback( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactionIsolationLevel( sal_Int32 level ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactionIsolationLevel( sal_Int32 level )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInDataManipulation( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInDataManipulation( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92FullSQL( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92FullSQL( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92EntryLevelSQL( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92EntryLevelSQL( )
{ {
return sal_True; // should be supported at least return sal_True; // should be supported at least
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsIntegrityEnhancementFacility( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsIntegrityEnhancementFacility( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInIndexDefinitions( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInIndexDefinitions( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInTableDefinitions( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInTableDefinitions( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInTableDefinitions( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInTableDefinitions( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInIndexDefinitions( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInIndexDefinitions( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInDataManipulation( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInDataManipulation( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsOuterJoins( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsOuterJoins( )
{ {
return sal_False; return sal_False;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatements( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxStatements( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxProcedureNameLength( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxProcedureNameLength( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxSchemaNameLength( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxSchemaNameLength( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactions( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsTransactions( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::allProceduresAreCallable( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::allProceduresAreCallable( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsStoredProcedures( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsStoredProcedures( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsSelectForUpdate( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsSelectForUpdate( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::allTablesAreSelectable( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::allTablesAreSelectable( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::isReadOnly( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::isReadOnly( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFiles( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFiles( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFilePerTable( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::usesLocalFilePerTable( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsTypeConversion( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsTypeConversion( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::nullPlusNonNullIsNull( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::nullPlusNonNullIsNull( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsColumnAliasing( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsColumnAliasing( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsTableCorrelationNames( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsTableCorrelationNames( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert( sal_Int32 fromType, sal_Int32 toType ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsConvert( sal_Int32 fromType, sal_Int32 toType )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsExpressionsInOrderBy( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsExpressionsInOrderBy( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupBy( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupBy( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByBeyondSelect( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByBeyondSelect( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByUnrelated( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsGroupByUnrelated( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleTransactions( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleTransactions( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsMultipleResultSets( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsLikeEscapeClause( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsOrderByUnrelated( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsUnion( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsUnionAll( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsUnionAll( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseIdentifiers( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseIdentifiers( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseQuotedIdentifiers( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsMixedCaseQuotedIdentifiers( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtEnd( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtEnd( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtStart( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedAtStart( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedHigh( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedHigh( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedLow( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::nullsAreSortedLow( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInProcedureCalls( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInProcedureCalls( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsSchemasInPrivilegeDefinitions( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInProcedureCalls( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInProcedureCalls( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsCatalogsInPrivilegeDefinitions( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsCorrelatedSubqueries( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsCorrelatedSubqueries( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInComparisons( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInComparisons( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInExists( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInExists( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInIns( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInIns( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInQuantifieds( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsSubqueriesInQuantifieds( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92IntermediateSQL( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsANSI92IntermediateSQL( )
{ {
return sal_False; return sal_False;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getURL( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getURL( )
{ {
::rtl::OUString aValue("sdbc:skeleton:"); ::rtl::OUString aValue("sdbc:skeleton:");
return aValue; return aValue;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getUserName( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getUserName( )
{ {
::rtl::OUString aValue; ::rtl::OUString aValue;
return aValue; return aValue;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getDriverName( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getDriverName( )
{ {
::rtl::OUString aValue; ::rtl::OUString aValue;
return aValue; return aValue;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getDriverVersion() throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getDriverVersion()
{ {
::rtl::OUString aValue; ::rtl::OUString aValue;
return aValue; return aValue;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductVersion( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductVersion( )
{ {
::rtl::OUString aValue; ::rtl::OUString aValue;
return aValue; return aValue;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductName( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getDatabaseProductName( )
{ {
::rtl::OUString aValue; ::rtl::OUString aValue;
return aValue; return aValue;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getProcedureTerm( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getProcedureTerm( )
{ {
::rtl::OUString aValue; ::rtl::OUString aValue;
return aValue; return aValue;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getSchemaTerm( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getSchemaTerm( )
{ {
::rtl::OUString aValue; ::rtl::OUString aValue;
return aValue; return aValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMajorVersion( ) throw(RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMajorVersion( )
{ {
return 1; return 1;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getDefaultTransactionIsolation( )
{ {
return TransactionIsolation::NONE; return TransactionIsolation::NONE;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMinorVersion( ) throw(RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getDriverMinorVersion( )
{ {
return 0; return 0;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getSQLKeywords( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getSQLKeywords( )
{ {
::rtl::OUString aValue; ::rtl::OUString aValue;
return aValue; return aValue;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getSearchStringEscape( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getSearchStringEscape( )
{ {
::rtl::OUString aValue; ::rtl::OUString aValue;
return aValue; return aValue;
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getStringFunctions( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getStringFunctions( )
{ {
return ::rtl::OUString(); return ::rtl::OUString();
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getTimeDateFunctions( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getTimeDateFunctions( )
{ {
return ::rtl::OUString(); return ::rtl::OUString();
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getSystemFunctions( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getSystemFunctions( )
{ {
return ::rtl::OUString(); return ::rtl::OUString();
} }
::rtl::OUString SAL_CALL ODatabaseMetaData::getNumericFunctions( ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL ODatabaseMetaData::getNumericFunctions( )
{ {
return ::rtl::OUString(); return ::rtl::OUString();
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsExtendedSQLGrammar( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsExtendedSQLGrammar( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsCoreSQLGrammar( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsCoreSQLGrammar( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsMinimumSQLGrammar( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsMinimumSQLGrammar( )
{ {
return sal_True; return sal_True;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsFullOuterJoins( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsFullOuterJoins( )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsLimitedOuterJoins( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsLimitedOuterJoins( )
{ {
return sal_False; return sal_False;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInGroupBy( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInGroupBy( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInOrderBy( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInOrderBy( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInSelect( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxColumnsInSelect( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Int32 SAL_CALL ODatabaseMetaData::getMaxUserNameLength( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL ODatabaseMetaData::getMaxUserNameLength( )
{ {
sal_Int32 nValue = 0; // 0 means no limit sal_Int32 nValue = 0; // 0 means no limit
return nValue; return nValue;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetType( sal_Int32 setType ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetType( sal_Int32 setType )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency( sal_Int32 setType, sal_Int32 concurrency ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsResultSetConcurrency( sal_Int32 setType, sal_Int32 concurrency )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::ownUpdatesAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::ownUpdatesAreVisible( sal_Int32 setType )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::ownDeletesAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::ownDeletesAreVisible( sal_Int32 setType )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::ownInsertsAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::ownInsertsAreVisible( sal_Int32 setType )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::othersUpdatesAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::othersUpdatesAreVisible( sal_Int32 setType )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::othersDeletesAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::othersDeletesAreVisible( sal_Int32 setType )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::othersInsertsAreVisible( sal_Int32 setType ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::othersInsertsAreVisible( sal_Int32 setType )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::updatesAreDetected( sal_Int32 setType ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::updatesAreDetected( sal_Int32 setType )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::deletesAreDetected( sal_Int32 setType ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::deletesAreDetected( sal_Int32 setType )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::insertsAreDetected( sal_Int32 setType ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::insertsAreDetected( sal_Int32 setType )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL ODatabaseMetaData::supportsBatchUpdates( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL ODatabaseMetaData::supportsBatchUpdates( )
{ {
return sal_False; return sal_False;
} }
Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection( ) throw(SQLException, RuntimeException) Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection( )
{ {
return (Reference< XConnection >)m_pConnection;//new OConnection(m_aConnectionHandle); return (Reference< XConnection >)m_pConnection;//new OConnection(m_aConnectionHandle);
} }
@@ -769,101 +769,101 @@ Reference< XConnection > SAL_CALL ODatabaseMetaData::getConnection( ) throw(SQL
// of course you could implement it on your and you should do this because // of course you could implement it on your and you should do this because
// the general way is more memory expensive // the general way is more memory expensive
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes( ) throw(SQLException, RuntimeException) Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTableTypes( )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo( ) throw(SQLException, RuntimeException) Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTypeInfo( )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs( ) throw(SQLException, RuntimeException) Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCatalogs( )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getSchemas( ) throw(SQLException, RuntimeException) Reference< XResultSet > SAL_CALL ODatabaseMetaData::getSchemas( )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumnPrivileges( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumnPrivileges(
const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table,
const ::rtl::OUString& columnNamePattern ) throw(SQLException, RuntimeException) const ::rtl::OUString& columnNamePattern )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getColumns(
const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern, const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern,
const ::rtl::OUString& columnNamePattern ) throw(SQLException, RuntimeException) const ::rtl::OUString& columnNamePattern )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTables(
const Any& catalog, const ::rtl::OUString& schemaPattern, const Any& catalog, const ::rtl::OUString& schemaPattern,
const ::rtl::OUString& tableNamePattern, const Sequence< ::rtl::OUString >& types ) throw(SQLException, RuntimeException) const ::rtl::OUString& tableNamePattern, const Sequence< ::rtl::OUString >& types )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedureColumns( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedureColumns(
const Any& catalog, const ::rtl::OUString& schemaPattern, const Any& catalog, const ::rtl::OUString& schemaPattern,
const ::rtl::OUString& procedureNamePattern, const ::rtl::OUString& columnNamePattern ) throw(SQLException, RuntimeException) const ::rtl::OUString& procedureNamePattern, const ::rtl::OUString& columnNamePattern )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedures( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getProcedures(
const Any& catalog, const ::rtl::OUString& schemaPattern, const Any& catalog, const ::rtl::OUString& schemaPattern,
const ::rtl::OUString& procedureNamePattern ) throw(SQLException, RuntimeException) const ::rtl::OUString& procedureNamePattern )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getVersionColumns(
const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(SQLException, RuntimeException) const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getExportedKeys(
const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(SQLException, RuntimeException) const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getImportedKeys(
const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(SQLException, RuntimeException) const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getPrimaryKeys( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getPrimaryKeys(
const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(SQLException, RuntimeException) const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getIndexInfo( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getIndexInfo(
const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table,
sal_Bool unique, sal_Bool approximate ) throw(SQLException, RuntimeException) sal_Bool unique, sal_Bool approximate )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getBestRowIdentifier( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getBestRowIdentifier(
const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, sal_Int32 scope, const Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, sal_Int32 scope,
sal_Bool nullable ) throw(SQLException, RuntimeException) sal_Bool nullable )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern ) throw(SQLException, RuntimeException) const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern )
{ {
return NULL; return NULL;
} }
@@ -871,12 +871,12 @@ Reference< XResultSet > SAL_CALL ODatabaseMetaData::getTablePrivileges(
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCrossReference( Reference< XResultSet > SAL_CALL ODatabaseMetaData::getCrossReference(
const Any& primaryCatalog, const ::rtl::OUString& primarySchema, const Any& primaryCatalog, const ::rtl::OUString& primarySchema,
const ::rtl::OUString& primaryTable, const Any& foreignCatalog, const ::rtl::OUString& primaryTable, const Any& foreignCatalog,
const ::rtl::OUString& foreignSchema, const ::rtl::OUString& foreignTable ) throw(SQLException, RuntimeException) const ::rtl::OUString& foreignSchema, const ::rtl::OUString& foreignTable )
{ {
return NULL; return NULL;
} }
Reference< XResultSet > SAL_CALL ODatabaseMetaData::getUDTs( const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& typeNamePattern, const Sequence< sal_Int32 >& types ) throw(SQLException, RuntimeException) Reference< XResultSet > SAL_CALL ODatabaseMetaData::getUDTs( const Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& typeNamePattern, const Sequence< sal_Int32 >& types )
{ {
OSL_FAIL("Not implemented yet!"); OSL_FAIL("Not implemented yet!");
throw SQLException(); throw SQLException();

View File

@@ -60,155 +60,155 @@ namespace connectivity
// as I mentioned before this interface is really BIG // as I mentioned before this interface is really BIG
// XDatabaseMetaData // XDatabaseMetaData
virtual sal_Bool SAL_CALL allProceduresAreCallable( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL allProceduresAreCallable( );
virtual sal_Bool SAL_CALL allTablesAreSelectable( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL allTablesAreSelectable( );
virtual ::rtl::OUString SAL_CALL getURL( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getURL( );
virtual ::rtl::OUString SAL_CALL getUserName( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getUserName( );
virtual sal_Bool SAL_CALL isReadOnly( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isReadOnly( );
virtual sal_Bool SAL_CALL nullsAreSortedHigh( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL nullsAreSortedHigh( );
virtual sal_Bool SAL_CALL nullsAreSortedLow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL nullsAreSortedLow( );
virtual sal_Bool SAL_CALL nullsAreSortedAtStart( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL nullsAreSortedAtStart( );
virtual sal_Bool SAL_CALL nullsAreSortedAtEnd( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL nullsAreSortedAtEnd( );
virtual ::rtl::OUString SAL_CALL getDatabaseProductName( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getDatabaseProductName( );
virtual ::rtl::OUString SAL_CALL getDatabaseProductVersion( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getDatabaseProductVersion( );
virtual ::rtl::OUString SAL_CALL getDriverName( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getDriverName( );
virtual ::rtl::OUString SAL_CALL getDriverVersion( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getDriverVersion( );
virtual sal_Int32 SAL_CALL getDriverMajorVersion( ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getDriverMajorVersion( );
virtual sal_Int32 SAL_CALL getDriverMinorVersion( ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getDriverMinorVersion( );
virtual sal_Bool SAL_CALL usesLocalFiles( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL usesLocalFiles( );
virtual sal_Bool SAL_CALL usesLocalFilePerTable( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL usesLocalFilePerTable( );
virtual sal_Bool SAL_CALL supportsMixedCaseIdentifiers( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsMixedCaseIdentifiers( );
virtual sal_Bool SAL_CALL storesUpperCaseIdentifiers( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL storesUpperCaseIdentifiers( );
virtual sal_Bool SAL_CALL storesLowerCaseIdentifiers( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL storesLowerCaseIdentifiers( );
virtual sal_Bool SAL_CALL storesMixedCaseIdentifiers( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL storesMixedCaseIdentifiers( );
virtual sal_Bool SAL_CALL supportsMixedCaseQuotedIdentifiers( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsMixedCaseQuotedIdentifiers( );
virtual sal_Bool SAL_CALL storesUpperCaseQuotedIdentifiers( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL storesUpperCaseQuotedIdentifiers( );
virtual sal_Bool SAL_CALL storesLowerCaseQuotedIdentifiers( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL storesLowerCaseQuotedIdentifiers( );
virtual sal_Bool SAL_CALL storesMixedCaseQuotedIdentifiers( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL storesMixedCaseQuotedIdentifiers( );
virtual ::rtl::OUString SAL_CALL getIdentifierQuoteString( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getIdentifierQuoteString( );
virtual ::rtl::OUString SAL_CALL getSQLKeywords( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getSQLKeywords( );
virtual ::rtl::OUString SAL_CALL getNumericFunctions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getNumericFunctions( );
virtual ::rtl::OUString SAL_CALL getStringFunctions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getStringFunctions( );
virtual ::rtl::OUString SAL_CALL getSystemFunctions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getSystemFunctions( );
virtual ::rtl::OUString SAL_CALL getTimeDateFunctions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getTimeDateFunctions( );
virtual ::rtl::OUString SAL_CALL getSearchStringEscape( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getSearchStringEscape( );
virtual ::rtl::OUString SAL_CALL getExtraNameCharacters( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getExtraNameCharacters( );
virtual sal_Bool SAL_CALL supportsAlterTableWithAddColumn( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsAlterTableWithAddColumn( );
virtual sal_Bool SAL_CALL supportsAlterTableWithDropColumn( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsAlterTableWithDropColumn( );
virtual sal_Bool SAL_CALL supportsColumnAliasing( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsColumnAliasing( );
virtual sal_Bool SAL_CALL nullPlusNonNullIsNull( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL nullPlusNonNullIsNull( );
virtual sal_Bool SAL_CALL supportsTypeConversion( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsTypeConversion( );
virtual sal_Bool SAL_CALL supportsConvert( sal_Int32 fromType, sal_Int32 toType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsConvert( sal_Int32 fromType, sal_Int32 toType );
virtual sal_Bool SAL_CALL supportsTableCorrelationNames( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsTableCorrelationNames( );
virtual sal_Bool SAL_CALL supportsDifferentTableCorrelationNames( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsDifferentTableCorrelationNames( );
virtual sal_Bool SAL_CALL supportsExpressionsInOrderBy( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsExpressionsInOrderBy( );
virtual sal_Bool SAL_CALL supportsOrderByUnrelated( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsOrderByUnrelated( );
virtual sal_Bool SAL_CALL supportsGroupBy( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsGroupBy( );
virtual sal_Bool SAL_CALL supportsGroupByUnrelated( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsGroupByUnrelated( );
virtual sal_Bool SAL_CALL supportsGroupByBeyondSelect( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsGroupByBeyondSelect( );
virtual sal_Bool SAL_CALL supportsLikeEscapeClause( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsLikeEscapeClause( );
virtual sal_Bool SAL_CALL supportsMultipleResultSets( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsMultipleResultSets( );
virtual sal_Bool SAL_CALL supportsMultipleTransactions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsMultipleTransactions( );
virtual sal_Bool SAL_CALL supportsNonNullableColumns( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsNonNullableColumns( );
virtual sal_Bool SAL_CALL supportsMinimumSQLGrammar( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsMinimumSQLGrammar( );
virtual sal_Bool SAL_CALL supportsCoreSQLGrammar( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsCoreSQLGrammar( );
virtual sal_Bool SAL_CALL supportsExtendedSQLGrammar( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsExtendedSQLGrammar( );
virtual sal_Bool SAL_CALL supportsANSI92EntryLevelSQL( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsANSI92EntryLevelSQL( );
virtual sal_Bool SAL_CALL supportsANSI92IntermediateSQL( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsANSI92IntermediateSQL( );
virtual sal_Bool SAL_CALL supportsANSI92FullSQL( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsANSI92FullSQL( );
virtual sal_Bool SAL_CALL supportsIntegrityEnhancementFacility( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsIntegrityEnhancementFacility( );
virtual sal_Bool SAL_CALL supportsOuterJoins( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsOuterJoins( );
virtual sal_Bool SAL_CALL supportsFullOuterJoins( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsFullOuterJoins( );
virtual sal_Bool SAL_CALL supportsLimitedOuterJoins( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsLimitedOuterJoins( );
virtual ::rtl::OUString SAL_CALL getSchemaTerm( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getSchemaTerm( );
virtual ::rtl::OUString SAL_CALL getProcedureTerm( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getProcedureTerm( );
virtual ::rtl::OUString SAL_CALL getCatalogTerm( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getCatalogTerm( );
virtual sal_Bool SAL_CALL isCatalogAtStart( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isCatalogAtStart( );
virtual ::rtl::OUString SAL_CALL getCatalogSeparator( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getCatalogSeparator( );
virtual sal_Bool SAL_CALL supportsSchemasInDataManipulation( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsSchemasInDataManipulation( );
virtual sal_Bool SAL_CALL supportsSchemasInProcedureCalls( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsSchemasInProcedureCalls( );
virtual sal_Bool SAL_CALL supportsSchemasInTableDefinitions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsSchemasInTableDefinitions( );
virtual sal_Bool SAL_CALL supportsSchemasInIndexDefinitions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsSchemasInIndexDefinitions( );
virtual sal_Bool SAL_CALL supportsSchemasInPrivilegeDefinitions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsSchemasInPrivilegeDefinitions( );
virtual sal_Bool SAL_CALL supportsCatalogsInDataManipulation( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsCatalogsInDataManipulation( );
virtual sal_Bool SAL_CALL supportsCatalogsInProcedureCalls( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsCatalogsInProcedureCalls( );
virtual sal_Bool SAL_CALL supportsCatalogsInTableDefinitions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsCatalogsInTableDefinitions( );
virtual sal_Bool SAL_CALL supportsCatalogsInIndexDefinitions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsCatalogsInIndexDefinitions( );
virtual sal_Bool SAL_CALL supportsCatalogsInPrivilegeDefinitions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsCatalogsInPrivilegeDefinitions( );
virtual sal_Bool SAL_CALL supportsPositionedDelete( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsPositionedDelete( );
virtual sal_Bool SAL_CALL supportsPositionedUpdate( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsPositionedUpdate( );
virtual sal_Bool SAL_CALL supportsSelectForUpdate( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsSelectForUpdate( );
virtual sal_Bool SAL_CALL supportsStoredProcedures( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsStoredProcedures( );
virtual sal_Bool SAL_CALL supportsSubqueriesInComparisons( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsSubqueriesInComparisons( );
virtual sal_Bool SAL_CALL supportsSubqueriesInExists( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsSubqueriesInExists( );
virtual sal_Bool SAL_CALL supportsSubqueriesInIns( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsSubqueriesInIns( );
virtual sal_Bool SAL_CALL supportsSubqueriesInQuantifieds( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsSubqueriesInQuantifieds( );
virtual sal_Bool SAL_CALL supportsCorrelatedSubqueries( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsCorrelatedSubqueries( );
virtual sal_Bool SAL_CALL supportsUnion( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsUnion( );
virtual sal_Bool SAL_CALL supportsUnionAll( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsUnionAll( );
virtual sal_Bool SAL_CALL supportsOpenCursorsAcrossCommit( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsOpenCursorsAcrossCommit( );
virtual sal_Bool SAL_CALL supportsOpenCursorsAcrossRollback( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsOpenCursorsAcrossRollback( );
virtual sal_Bool SAL_CALL supportsOpenStatementsAcrossCommit( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsOpenStatementsAcrossCommit( );
virtual sal_Bool SAL_CALL supportsOpenStatementsAcrossRollback( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsOpenStatementsAcrossRollback( );
virtual sal_Int32 SAL_CALL getMaxBinaryLiteralLength( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxBinaryLiteralLength( );
virtual sal_Int32 SAL_CALL getMaxCharLiteralLength( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxCharLiteralLength( );
virtual sal_Int32 SAL_CALL getMaxColumnNameLength( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxColumnNameLength( );
virtual sal_Int32 SAL_CALL getMaxColumnsInGroupBy( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxColumnsInGroupBy( );
virtual sal_Int32 SAL_CALL getMaxColumnsInIndex( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxColumnsInIndex( );
virtual sal_Int32 SAL_CALL getMaxColumnsInOrderBy( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxColumnsInOrderBy( );
virtual sal_Int32 SAL_CALL getMaxColumnsInSelect( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxColumnsInSelect( );
virtual sal_Int32 SAL_CALL getMaxColumnsInTable( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxColumnsInTable( );
virtual sal_Int32 SAL_CALL getMaxConnections( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxConnections( );
virtual sal_Int32 SAL_CALL getMaxCursorNameLength( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxCursorNameLength( );
virtual sal_Int32 SAL_CALL getMaxIndexLength( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxIndexLength( );
virtual sal_Int32 SAL_CALL getMaxSchemaNameLength( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxSchemaNameLength( );
virtual sal_Int32 SAL_CALL getMaxProcedureNameLength( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxProcedureNameLength( );
virtual sal_Int32 SAL_CALL getMaxCatalogNameLength( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxCatalogNameLength( );
virtual sal_Int32 SAL_CALL getMaxRowSize( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxRowSize( );
virtual sal_Bool SAL_CALL doesMaxRowSizeIncludeBlobs( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL doesMaxRowSizeIncludeBlobs( );
virtual sal_Int32 SAL_CALL getMaxStatementLength( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxStatementLength( );
virtual sal_Int32 SAL_CALL getMaxStatements( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxStatements( );
virtual sal_Int32 SAL_CALL getMaxTableNameLength( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxTableNameLength( );
virtual sal_Int32 SAL_CALL getMaxTablesInSelect( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxTablesInSelect( );
virtual sal_Int32 SAL_CALL getMaxUserNameLength( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMaxUserNameLength( );
virtual sal_Int32 SAL_CALL getDefaultTransactionIsolation( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getDefaultTransactionIsolation( );
virtual sal_Bool SAL_CALL supportsTransactions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsTransactions( );
virtual sal_Bool SAL_CALL supportsTransactionIsolationLevel( sal_Int32 level ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsTransactionIsolationLevel( sal_Int32 level );
virtual sal_Bool SAL_CALL supportsDataDefinitionAndDataManipulationTransactions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsDataDefinitionAndDataManipulationTransactions( );
virtual sal_Bool SAL_CALL supportsDataManipulationTransactionsOnly( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsDataManipulationTransactionsOnly( );
virtual sal_Bool SAL_CALL dataDefinitionCausesTransactionCommit( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL dataDefinitionCausesTransactionCommit( );
virtual sal_Bool SAL_CALL dataDefinitionIgnoredInTransactions( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL dataDefinitionIgnoredInTransactions( );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getProcedures( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& procedureNamePattern ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getProcedures( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& procedureNamePattern );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getProcedureColumns( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& procedureNamePattern, const ::rtl::OUString& columnNamePattern ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getProcedureColumns( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& procedureNamePattern, const ::rtl::OUString& columnNamePattern );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getTables( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& types ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getTables( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern, const ::com::sun::star::uno::Sequence< ::rtl::OUString >& types );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getSchemas( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getSchemas( );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getCatalogs( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getCatalogs( );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getTableTypes( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getTableTypes( );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getColumns( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern, const ::rtl::OUString& columnNamePattern ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getColumns( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern, const ::rtl::OUString& columnNamePattern );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getColumnPrivileges( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, const ::rtl::OUString& columnNamePattern ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getColumnPrivileges( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, const ::rtl::OUString& columnNamePattern );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getTablePrivileges( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getTablePrivileges( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& tableNamePattern );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getBestRowIdentifier( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, sal_Int32 scope, sal_Bool nullable ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getBestRowIdentifier( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, sal_Int32 scope, sal_Bool nullable );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getVersionColumns( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getVersionColumns( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getPrimaryKeys( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getPrimaryKeys( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getImportedKeys( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getImportedKeys( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getExportedKeys( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getExportedKeys( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getCrossReference( const ::com::sun::star::uno::Any& primaryCatalog, const ::rtl::OUString& primarySchema, const ::rtl::OUString& primaryTable, const ::com::sun::star::uno::Any& foreignCatalog, const ::rtl::OUString& foreignSchema, const ::rtl::OUString& foreignTable ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getCrossReference( const ::com::sun::star::uno::Any& primaryCatalog, const ::rtl::OUString& primarySchema, const ::rtl::OUString& primaryTable, const ::com::sun::star::uno::Any& foreignCatalog, const ::rtl::OUString& foreignSchema, const ::rtl::OUString& foreignTable );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getTypeInfo( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getTypeInfo( );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getIndexInfo( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, sal_Bool unique, sal_Bool approximate ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getIndexInfo( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schema, const ::rtl::OUString& table, sal_Bool unique, sal_Bool approximate );
virtual sal_Bool SAL_CALL supportsResultSetType( sal_Int32 setType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsResultSetType( sal_Int32 setType );
virtual sal_Bool SAL_CALL supportsResultSetConcurrency( sal_Int32 setType, sal_Int32 concurrency ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsResultSetConcurrency( sal_Int32 setType, sal_Int32 concurrency );
virtual sal_Bool SAL_CALL ownUpdatesAreVisible( sal_Int32 setType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL ownUpdatesAreVisible( sal_Int32 setType );
virtual sal_Bool SAL_CALL ownDeletesAreVisible( sal_Int32 setType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL ownDeletesAreVisible( sal_Int32 setType );
virtual sal_Bool SAL_CALL ownInsertsAreVisible( sal_Int32 setType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL ownInsertsAreVisible( sal_Int32 setType );
virtual sal_Bool SAL_CALL othersUpdatesAreVisible( sal_Int32 setType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL othersUpdatesAreVisible( sal_Int32 setType );
virtual sal_Bool SAL_CALL othersDeletesAreVisible( sal_Int32 setType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL othersDeletesAreVisible( sal_Int32 setType );
virtual sal_Bool SAL_CALL othersInsertsAreVisible( sal_Int32 setType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL othersInsertsAreVisible( sal_Int32 setType );
virtual sal_Bool SAL_CALL updatesAreDetected( sal_Int32 setType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL updatesAreDetected( sal_Int32 setType );
virtual sal_Bool SAL_CALL deletesAreDetected( sal_Int32 setType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL deletesAreDetected( sal_Int32 setType );
virtual sal_Bool SAL_CALL insertsAreDetected( sal_Int32 setType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL insertsAreDetected( sal_Int32 setType );
virtual sal_Bool SAL_CALL supportsBatchUpdates( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsBatchUpdates( );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getUDTs( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& typeNamePattern, const ::com::sun::star::uno::Sequence< sal_Int32 >& types ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getUDTs( const ::com::sun::star::uno::Any& catalog, const ::rtl::OUString& schemaPattern, const ::rtl::OUString& typeNamePattern, const ::com::sun::star::uno::Sequence< sal_Int32 >& types );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection( );
}; };
} }
} }

View File

@@ -47,7 +47,7 @@ namespace connectivity
{ {
namespace skeleton namespace skeleton
{ {
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SkeletonDriver_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory) throw( ::com::sun::star::uno::Exception ) ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SkeletonDriver_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory)
{ {
return *(new SkeletonDriver()); return *(new SkeletonDriver());
} }
@@ -77,14 +77,14 @@ void SkeletonDriver::disposing()
// static ServiceInfo // static ServiceInfo
rtl::OUString SkeletonDriver::getImplementationName_Static( ) throw(RuntimeException) rtl::OUString SkeletonDriver::getImplementationName_Static( )
{ {
return rtl::OUString("com.sun.star.comp.sdbc.SkeletonDriver"); return rtl::OUString("com.sun.star.comp.sdbc.SkeletonDriver");
// this name is referenced in the configuration and in the skeleton.xml // this name is referenced in the configuration and in the skeleton.xml
// Please take care when changing it. // Please take care when changing it.
} }
Sequence< ::rtl::OUString > SkeletonDriver::getSupportedServiceNames_Static( ) throw (RuntimeException) Sequence< ::rtl::OUString > SkeletonDriver::getSupportedServiceNames_Static( )
{ {
/// which service is supported /// which service is supported
/// for more information @see com.sun.star.sdbc.Driver /// for more information @see com.sun.star.sdbc.Driver
@@ -93,22 +93,22 @@ Sequence< ::rtl::OUString > SkeletonDriver::getSupportedServiceNames_Static( )
return aSNS; return aSNS;
} }
::rtl::OUString SAL_CALL SkeletonDriver::getImplementationName( ) throw(RuntimeException) ::rtl::OUString SAL_CALL SkeletonDriver::getImplementationName( )
{ {
return getImplementationName_Static(); return getImplementationName_Static();
} }
sal_Bool SAL_CALL SkeletonDriver::supportsService( const ::rtl::OUString& _rServiceName ) throw(RuntimeException) sal_Bool SAL_CALL SkeletonDriver::supportsService( const ::rtl::OUString& _rServiceName )
{ {
return cppu::supportsService(this, _rServiceName); return cppu::supportsService(this, _rServiceName);
} }
Sequence< ::rtl::OUString > SAL_CALL SkeletonDriver::getSupportedServiceNames( ) throw(RuntimeException) Sequence< ::rtl::OUString > SAL_CALL SkeletonDriver::getSupportedServiceNames( )
{ {
return getSupportedServiceNames_Static(); return getSupportedServiceNames_Static();
} }
Reference< XConnection > SAL_CALL SkeletonDriver::connect( const ::rtl::OUString& url, const Sequence< PropertyValue >& info ) throw(SQLException, RuntimeException) Reference< XConnection > SAL_CALL SkeletonDriver::connect( const ::rtl::OUString& url, const Sequence< PropertyValue >& info )
{ {
// create a new connection with the given properties and append it to our vector // create a new connection with the given properties and append it to our vector
OConnection* pCon = new OConnection(this); OConnection* pCon = new OConnection(this);
@@ -120,25 +120,24 @@ Reference< XConnection > SAL_CALL SkeletonDriver::connect( const ::rtl::OUString
} }
sal_Bool SAL_CALL SkeletonDriver::acceptsURL( const ::rtl::OUString& url ) sal_Bool SAL_CALL SkeletonDriver::acceptsURL( const ::rtl::OUString& url )
throw(SQLException, RuntimeException)
{ {
// here we have to look if we support this url format // here we have to look if we support this url format
// change the URL format to your needs, but please aware that the first on who accepts the URl wins. // change the URL format to your needs, but please aware that the first on who accepts the URl wins.
return url.startsWith("sdbc:skeleton:"); return url.startsWith("sdbc:skeleton:");
} }
Sequence< DriverPropertyInfo > SAL_CALL SkeletonDriver::getPropertyInfo( const ::rtl::OUString& url, const Sequence< PropertyValue >& info ) throw(SQLException, RuntimeException) Sequence< DriverPropertyInfo > SAL_CALL SkeletonDriver::getPropertyInfo( const ::rtl::OUString& url, const Sequence< PropertyValue >& info )
{ {
// if you have something special to say, return it here :-) // if you have something special to say, return it here :-)
return Sequence< DriverPropertyInfo >(); return Sequence< DriverPropertyInfo >();
} }
sal_Int32 SAL_CALL SkeletonDriver::getMajorVersion( ) throw(RuntimeException) sal_Int32 SAL_CALL SkeletonDriver::getMajorVersion( )
{ {
return 0; // depends on you return 0; // depends on you
} }
sal_Int32 SAL_CALL SkeletonDriver::getMinorVersion( ) throw(RuntimeException) sal_Int32 SAL_CALL SkeletonDriver::getMinorVersion( )
{ {
return 1; // depends on you return 1; // depends on you
} }
@@ -187,7 +186,7 @@ void release(oslInterlockedCount& _refCount,
osl_atomic_increment( &_refCount ); osl_atomic_increment( &_refCount );
} }
void checkDisposed(sal_Bool _bThrow) throw ( DisposedException ) void checkDisposed(sal_Bool _bThrow)
{ {
if (_bThrow) if (_bThrow)
throw DisposedException(); throw DisposedException();

View File

@@ -49,7 +49,7 @@ namespace connectivity
{ {
namespace skeleton namespace skeleton
{ {
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SkeletonDriver_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory) throw( ::com::sun::star::uno::Exception ); ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL SkeletonDriver_CreateInstance(const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory >& _rxFactory);
typedef ::cppu::WeakComponentImplHelper2< ::com::sun::star::sdbc::XDriver, typedef ::cppu::WeakComponentImplHelper2< ::com::sun::star::sdbc::XDriver,
::com::sun::star::lang::XServiceInfo > ODriver_BASE; ::com::sun::star::lang::XServiceInfo > ODriver_BASE;
@@ -68,20 +68,20 @@ namespace connectivity
// OComponentHelper // OComponentHelper
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();
// XInterface // XInterface
static ::rtl::OUString getImplementationName_Static( ) throw(::com::sun::star::uno::RuntimeException); static ::rtl::OUString getImplementationName_Static( );
static ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_Static( ) throw (::com::sun::star::uno::RuntimeException); static ::com::sun::star::uno::Sequence< ::rtl::OUString > getSupportedServiceNames_Static( );
// XServiceInfo // XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName( ) throw(::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getImplementationName( );
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName );
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( );
// XDriver // XDriver
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL connect( const ::rtl::OUString& url, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL connect( const ::rtl::OUString& url, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info );
virtual sal_Bool SAL_CALL acceptsURL( const ::rtl::OUString& url ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL acceptsURL( const ::rtl::OUString& url );
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo( const ::rtl::OUString& url, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::sdbc::DriverPropertyInfo > SAL_CALL getPropertyInfo( const ::rtl::OUString& url, const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& info );
virtual sal_Int32 SAL_CALL getMajorVersion( ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMajorVersion( );
virtual sal_Int32 SAL_CALL getMinorVersion( ) throw(::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getMinorVersion( );
}; };
} }

View File

@@ -76,7 +76,7 @@ void SAL_CALL OPreparedStatement::release() throw()
OStatement_BASE2::release(); OStatement_BASE2::release();
} }
Any SAL_CALL OPreparedStatement::queryInterface( const Type & rType ) throw(RuntimeException) Any SAL_CALL OPreparedStatement::queryInterface( const Type & rType )
{ {
Any aRet = OStatement_BASE2::queryInterface(rType); Any aRet = OStatement_BASE2::queryInterface(rType);
if(!aRet.hasValue()) if(!aRet.hasValue())
@@ -84,13 +84,13 @@ Any SAL_CALL OPreparedStatement::queryInterface( const Type & rType ) throw(Runt
return aRet; return aRet;
} }
::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL OPreparedStatement::getTypes( ) throw(::com::sun::star::uno::RuntimeException) ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL OPreparedStatement::getTypes( )
{ {
return concatSequences(OPreparedStatement_BASE::getTypes(),OStatement_BASE2::getTypes()); return concatSequences(OPreparedStatement_BASE::getTypes(),OStatement_BASE2::getTypes());
} }
Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData( ) throw(SQLException, RuntimeException) Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -101,7 +101,7 @@ Reference< XResultSetMetaData > SAL_CALL OPreparedStatement::getMetaData( ) thr
} }
void SAL_CALL OPreparedStatement::close( ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::close( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -122,7 +122,7 @@ void SAL_CALL OPreparedStatement::close( ) throw(SQLException, RuntimeException
} }
sal_Bool SAL_CALL OPreparedStatement::execute( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OPreparedStatement::execute( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -133,7 +133,7 @@ sal_Bool SAL_CALL OPreparedStatement::execute( ) throw(SQLException, RuntimeExc
} }
sal_Int32 SAL_CALL OPreparedStatement::executeUpdate( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL OPreparedStatement::executeUpdate( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -143,14 +143,14 @@ sal_Int32 SAL_CALL OPreparedStatement::executeUpdate( ) throw(SQLException, Run
} }
void SAL_CALL OPreparedStatement::setString( sal_Int32 parameterIndex, const ::rtl::OUString& x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setString( sal_Int32 parameterIndex, const ::rtl::OUString& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
} }
Reference< XConnection > SAL_CALL OPreparedStatement::getConnection( ) throw(SQLException, RuntimeException) Reference< XConnection > SAL_CALL OPreparedStatement::getConnection( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -159,7 +159,7 @@ Reference< XConnection > SAL_CALL OPreparedStatement::getConnection( ) throw(SQ
} }
Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery( ) throw(SQLException, RuntimeException) Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -171,14 +171,14 @@ Reference< XResultSet > SAL_CALL OPreparedStatement::executeQuery( ) throw(SQLE
} }
void SAL_CALL OPreparedStatement::setBoolean( sal_Int32 parameterIndex, sal_Bool x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setBoolean( sal_Int32 parameterIndex, sal_Bool x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OPreparedStatement::setByte( sal_Int32 parameterIndex, sal_Int8 x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setByte( sal_Int32 parameterIndex, sal_Int8 x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -187,7 +187,7 @@ void SAL_CALL OPreparedStatement::setByte( sal_Int32 parameterIndex, sal_Int8 x
} }
void SAL_CALL OPreparedStatement::setDate( sal_Int32 parameterIndex, const Date& aData ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setDate( sal_Int32 parameterIndex, const Date& aData )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -195,7 +195,7 @@ void SAL_CALL OPreparedStatement::setDate( sal_Int32 parameterIndex, const Date&
} }
void SAL_CALL OPreparedStatement::setTime( sal_Int32 parameterIndex, const css::util::Time& aVal ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setTime( sal_Int32 parameterIndex, const css::util::Time& aVal )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -203,7 +203,7 @@ void SAL_CALL OPreparedStatement::setTime( sal_Int32 parameterIndex, const css::
} }
void SAL_CALL OPreparedStatement::setTimestamp( sal_Int32 parameterIndex, const DateTime& aVal ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setTimestamp( sal_Int32 parameterIndex, const DateTime& aVal )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -211,7 +211,7 @@ void SAL_CALL OPreparedStatement::setTimestamp( sal_Int32 parameterIndex, const
} }
void SAL_CALL OPreparedStatement::setDouble( sal_Int32 parameterIndex, double x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setDouble( sal_Int32 parameterIndex, double x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -219,7 +219,7 @@ void SAL_CALL OPreparedStatement::setDouble( sal_Int32 parameterIndex, double x
} }
void SAL_CALL OPreparedStatement::setFloat( sal_Int32 parameterIndex, float x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setFloat( sal_Int32 parameterIndex, float x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -227,7 +227,7 @@ void SAL_CALL OPreparedStatement::setFloat( sal_Int32 parameterIndex, float x )
} }
void SAL_CALL OPreparedStatement::setInt( sal_Int32 parameterIndex, sal_Int32 x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setInt( sal_Int32 parameterIndex, sal_Int32 x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -235,7 +235,7 @@ void SAL_CALL OPreparedStatement::setInt( sal_Int32 parameterIndex, sal_Int32 x
} }
void SAL_CALL OPreparedStatement::setLong( sal_Int32 parameterIndex, sal_Int64 aVal ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setLong( sal_Int32 parameterIndex, sal_Int64 aVal )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -243,7 +243,7 @@ void SAL_CALL OPreparedStatement::setLong( sal_Int32 parameterIndex, sal_Int64 a
} }
void SAL_CALL OPreparedStatement::setNull( sal_Int32 parameterIndex, sal_Int32 sqlType ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setNull( sal_Int32 parameterIndex, sal_Int32 sqlType )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -251,7 +251,7 @@ void SAL_CALL OPreparedStatement::setNull( sal_Int32 parameterIndex, sal_Int32 s
} }
void SAL_CALL OPreparedStatement::setClob( sal_Int32 parameterIndex, const Reference< XClob >& x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setClob( sal_Int32 parameterIndex, const Reference< XClob >& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -259,7 +259,7 @@ void SAL_CALL OPreparedStatement::setClob( sal_Int32 parameterIndex, const Refer
} }
void SAL_CALL OPreparedStatement::setBlob( sal_Int32 parameterIndex, const Reference< XBlob >& x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setBlob( sal_Int32 parameterIndex, const Reference< XBlob >& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -267,7 +267,7 @@ void SAL_CALL OPreparedStatement::setBlob( sal_Int32 parameterIndex, const Refer
} }
void SAL_CALL OPreparedStatement::setArray( sal_Int32 parameterIndex, const Reference< XArray >& x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setArray( sal_Int32 parameterIndex, const Reference< XArray >& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -275,7 +275,7 @@ void SAL_CALL OPreparedStatement::setArray( sal_Int32 parameterIndex, const Refe
} }
void SAL_CALL OPreparedStatement::setRef( sal_Int32 parameterIndex, const Reference< XRef >& x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setRef( sal_Int32 parameterIndex, const Reference< XRef >& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -283,7 +283,7 @@ void SAL_CALL OPreparedStatement::setRef( sal_Int32 parameterIndex, const Refere
} }
void SAL_CALL OPreparedStatement::setObjectWithInfo( sal_Int32 parameterIndex, const Any& x, sal_Int32 sqlType, sal_Int32 scale ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setObjectWithInfo( sal_Int32 parameterIndex, const Any& x, sal_Int32 sqlType, sal_Int32 scale )
{ {
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
@@ -291,7 +291,7 @@ void SAL_CALL OPreparedStatement::setObjectWithInfo( sal_Int32 parameterIndex, c
} }
void SAL_CALL OPreparedStatement::setObjectNull( sal_Int32 parameterIndex, sal_Int32 sqlType, const ::rtl::OUString& typeName ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setObjectNull( sal_Int32 parameterIndex, sal_Int32 sqlType, const ::rtl::OUString& typeName )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -299,7 +299,7 @@ void SAL_CALL OPreparedStatement::setObjectNull( sal_Int32 parameterIndex, sal_I
} }
void SAL_CALL OPreparedStatement::setObject( sal_Int32 parameterIndex, const Any& x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setObject( sal_Int32 parameterIndex, const Any& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -307,7 +307,7 @@ void SAL_CALL OPreparedStatement::setObject( sal_Int32 parameterIndex, const Any
} }
void SAL_CALL OPreparedStatement::setShort( sal_Int32 parameterIndex, sal_Int16 x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setShort( sal_Int32 parameterIndex, sal_Int16 x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -315,7 +315,7 @@ void SAL_CALL OPreparedStatement::setShort( sal_Int32 parameterIndex, sal_Int16
} }
void SAL_CALL OPreparedStatement::setBytes( sal_Int32 parameterIndex, const Sequence< sal_Int8 >& x ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setBytes( sal_Int32 parameterIndex, const Sequence< sal_Int8 >& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -323,7 +323,7 @@ void SAL_CALL OPreparedStatement::setBytes( sal_Int32 parameterIndex, const Sequ
} }
void SAL_CALL OPreparedStatement::setCharacterStream( sal_Int32 parameterIndex, const Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setCharacterStream( sal_Int32 parameterIndex, const Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -331,7 +331,7 @@ void SAL_CALL OPreparedStatement::setCharacterStream( sal_Int32 parameterIndex,
} }
void SAL_CALL OPreparedStatement::setBinaryStream( sal_Int32 parameterIndex, const Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::setBinaryStream( sal_Int32 parameterIndex, const Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -339,26 +339,26 @@ void SAL_CALL OPreparedStatement::setBinaryStream( sal_Int32 parameterIndex, con
} }
void SAL_CALL OPreparedStatement::clearParameters( ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::clearParameters( )
{ {
} }
void SAL_CALL OPreparedStatement::clearBatch( ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::clearBatch( )
{ {
} }
void SAL_CALL OPreparedStatement::addBatch( ) throw(SQLException, RuntimeException) void SAL_CALL OPreparedStatement::addBatch( )
{ {
} }
Sequence< sal_Int32 > SAL_CALL OPreparedStatement::executeBatch( ) throw(SQLException, RuntimeException) Sequence< sal_Int32 > SAL_CALL OPreparedStatement::executeBatch( )
{ {
return Sequence< sal_Int32 > (); return Sequence< sal_Int32 > ();
} }
void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rValue) throw (Exception) void OPreparedStatement::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rValue)
{ {
switch(nHandle) switch(nHandle)
{ {

View File

@@ -90,8 +90,7 @@ namespace connectivity
protected: protected:
virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle, virtual void SAL_CALL setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,
const ::com::sun::star::uno::Any& rValue) const ::com::sun::star::uno::Any& rValue);
throw (::com::sun::star::uno::Exception);
virtual ~OPreparedStatement(); virtual ~OPreparedStatement();
public: public:
DECLARE_SERVICE_INFO(); DECLARE_SERVICE_INFO();
@@ -99,49 +98,49 @@ namespace connectivity
OPreparedStatement( OConnection* _pConnection,const TTypeInfoVector& _TypeInfo,const ::rtl::OUString& sql); OPreparedStatement( OConnection* _pConnection,const TTypeInfoVector& _TypeInfo,const ::rtl::OUString& sql);
//XInterface //XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType );
virtual void SAL_CALL acquire() throw(); virtual void SAL_CALL acquire() throw();
virtual void SAL_CALL release() throw(); virtual void SAL_CALL release() throw();
//XTypeProvider //XTypeProvider
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( );
// XPreparedStatement // XPreparedStatement
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL executeQuery( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL executeQuery( );
virtual sal_Int32 SAL_CALL executeUpdate( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL executeUpdate( );
virtual sal_Bool SAL_CALL execute( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL execute( );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection( );
// XParameters // XParameters
virtual void SAL_CALL setNull( sal_Int32 parameterIndex, sal_Int32 sqlType ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setNull( sal_Int32 parameterIndex, sal_Int32 sqlType );
virtual void SAL_CALL setObjectNull( sal_Int32 parameterIndex, sal_Int32 sqlType, const ::rtl::OUString& typeName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setObjectNull( sal_Int32 parameterIndex, sal_Int32 sqlType, const ::rtl::OUString& typeName );
virtual void SAL_CALL setBoolean( sal_Int32 parameterIndex, sal_Bool x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setBoolean( sal_Int32 parameterIndex, sal_Bool x );
virtual void SAL_CALL setByte( sal_Int32 parameterIndex, sal_Int8 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setByte( sal_Int32 parameterIndex, sal_Int8 x );
virtual void SAL_CALL setShort( sal_Int32 parameterIndex, sal_Int16 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setShort( sal_Int32 parameterIndex, sal_Int16 x );
virtual void SAL_CALL setInt( sal_Int32 parameterIndex, sal_Int32 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setInt( sal_Int32 parameterIndex, sal_Int32 x );
virtual void SAL_CALL setLong( sal_Int32 parameterIndex, sal_Int64 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setLong( sal_Int32 parameterIndex, sal_Int64 x );
virtual void SAL_CALL setFloat( sal_Int32 parameterIndex, float x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setFloat( sal_Int32 parameterIndex, float x );
virtual void SAL_CALL setDouble( sal_Int32 parameterIndex, double x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setDouble( sal_Int32 parameterIndex, double x );
virtual void SAL_CALL setString( sal_Int32 parameterIndex, const ::rtl::OUString& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setString( sal_Int32 parameterIndex, const ::rtl::OUString& x );
virtual void SAL_CALL setBytes( sal_Int32 parameterIndex, const ::com::sun::star::uno::Sequence< sal_Int8 >& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setBytes( sal_Int32 parameterIndex, const ::com::sun::star::uno::Sequence< sal_Int8 >& x );
virtual void SAL_CALL setDate( sal_Int32 parameterIndex, const ::com::sun::star::util::Date& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setDate( sal_Int32 parameterIndex, const ::com::sun::star::util::Date& x );
virtual void SAL_CALL setTime( sal_Int32 parameterIndex, const ::com::sun::star::util::Time& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setTime( sal_Int32 parameterIndex, const ::com::sun::star::util::Time& x );
virtual void SAL_CALL setTimestamp( sal_Int32 parameterIndex, const ::com::sun::star::util::DateTime& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setTimestamp( sal_Int32 parameterIndex, const ::com::sun::star::util::DateTime& x );
virtual void SAL_CALL setBinaryStream( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setBinaryStream( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length );
virtual void SAL_CALL setCharacterStream( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setCharacterStream( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length );
virtual void SAL_CALL setObject( sal_Int32 parameterIndex, const ::com::sun::star::uno::Any& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setObject( sal_Int32 parameterIndex, const ::com::sun::star::uno::Any& x );
virtual void SAL_CALL setObjectWithInfo( sal_Int32 parameterIndex, const ::com::sun::star::uno::Any& x, sal_Int32 targetSqlType, sal_Int32 scale ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setObjectWithInfo( sal_Int32 parameterIndex, const ::com::sun::star::uno::Any& x, sal_Int32 targetSqlType, sal_Int32 scale );
virtual void SAL_CALL setRef( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef >& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setRef( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef >& x );
virtual void SAL_CALL setBlob( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob >& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setBlob( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob >& x );
virtual void SAL_CALL setClob( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob >& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setClob( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob >& x );
virtual void SAL_CALL setArray( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray >& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL setArray( sal_Int32 parameterIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray >& x );
virtual void SAL_CALL clearParameters( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL clearParameters( );
// XPreparedBatchExecution // XPreparedBatchExecution
virtual void SAL_CALL addBatch( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addBatch( );
virtual void SAL_CALL clearBatch( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL clearBatch( );
virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL executeBatch( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL executeBatch( );
// XCloseable // XCloseable
virtual void SAL_CALL close( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL close( );
// XResultSetMetaDataSupplier // XResultSetMetaDataSupplier
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData( );
}; };
} }
} }

View File

@@ -55,12 +55,12 @@ using namespace com::sun::star::io;
using namespace com::sun::star::util; using namespace com::sun::star::util;
// IMPLEMENT_SERVICE_INFO(OResultSet,"com.sun.star.sdbcx.OResultSet","com.sun.star.sdbc.ResultSet"); // IMPLEMENT_SERVICE_INFO(OResultSet,"com.sun.star.sdbcx.OResultSet","com.sun.star.sdbc.ResultSet");
::rtl::OUString SAL_CALL OResultSet::getImplementationName( ) throw ( RuntimeException) ::rtl::OUString SAL_CALL OResultSet::getImplementationName( )
{ {
return ::rtl::OUString("com.sun.star.sdbcx.skeleton.ResultSet"); return ::rtl::OUString("com.sun.star.sdbcx.skeleton.ResultSet");
} }
Sequence< ::rtl::OUString > SAL_CALL OResultSet::getSupportedServiceNames( ) throw( RuntimeException) Sequence< ::rtl::OUString > SAL_CALL OResultSet::getSupportedServiceNames( )
{ {
Sequence< ::rtl::OUString > aSupported(2); Sequence< ::rtl::OUString > aSupported(2);
aSupported[0] = ::rtl::OUString("com.sun.star.sdbc.ResultSet"); aSupported[0] = ::rtl::OUString("com.sun.star.sdbc.ResultSet");
@@ -68,7 +68,7 @@ using namespace com::sun::star::util;
return aSupported; return aSupported;
} }
sal_Bool SAL_CALL OResultSet::supportsService( const ::rtl::OUString& _rServiceName ) throw( RuntimeException) sal_Bool SAL_CALL OResultSet::supportsService( const ::rtl::OUString& _rServiceName )
{ {
return cppu::supportsService(this, _rServiceName); return cppu::supportsService(this, _rServiceName);
} }
@@ -98,7 +98,7 @@ void OResultSet::disposing()
m_xMetaData = NULL; m_xMetaData = NULL;
} }
Any SAL_CALL OResultSet::queryInterface( const Type & rType ) throw(RuntimeException) Any SAL_CALL OResultSet::queryInterface( const Type & rType )
{ {
Any aRet = OPropertySetHelper::queryInterface(rType); Any aRet = OPropertySetHelper::queryInterface(rType);
if(!aRet.hasValue()) if(!aRet.hasValue())
@@ -106,7 +106,7 @@ Any SAL_CALL OResultSet::queryInterface( const Type & rType ) throw(RuntimeExcep
return aRet; return aRet;
} }
Sequence< Type > SAL_CALL OResultSet::getTypes( ) throw( RuntimeException) Sequence< Type > SAL_CALL OResultSet::getTypes( )
{ {
OTypeCollection aTypes( OTypeCollection aTypes(
::cppu::UnoType<css::beans::XMultiPropertySet>::get(), ::cppu::UnoType<css::beans::XMultiPropertySet>::get(),
@@ -117,7 +117,7 @@ Any SAL_CALL OResultSet::queryInterface( const Type & rType ) throw(RuntimeExcep
} }
sal_Int32 SAL_CALL OResultSet::findColumn( const ::rtl::OUString& columnName ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL OResultSet::findColumn( const ::rtl::OUString& columnName )
{ {
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -136,7 +136,7 @@ sal_Int32 SAL_CALL OResultSet::findColumn( const ::rtl::OUString& columnName ) t
return i; return i;
} }
Reference< XInputStream > SAL_CALL OResultSet::getBinaryStream( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) Reference< XInputStream > SAL_CALL OResultSet::getBinaryStream( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -145,7 +145,7 @@ Reference< XInputStream > SAL_CALL OResultSet::getBinaryStream( sal_Int32 column
return NULL; return NULL;
} }
Reference< XInputStream > SAL_CALL OResultSet::getCharacterStream( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) Reference< XInputStream > SAL_CALL OResultSet::getCharacterStream( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -155,7 +155,7 @@ Reference< XInputStream > SAL_CALL OResultSet::getCharacterStream( sal_Int32 col
} }
sal_Bool SAL_CALL OResultSet::getBoolean( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::getBoolean( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -164,7 +164,7 @@ sal_Bool SAL_CALL OResultSet::getBoolean( sal_Int32 columnIndex ) throw(SQLExcep
} }
sal_Int8 SAL_CALL OResultSet::getByte( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) sal_Int8 SAL_CALL OResultSet::getByte( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -175,7 +175,7 @@ sal_Int8 SAL_CALL OResultSet::getByte( sal_Int32 columnIndex ) throw(SQLExceptio
} }
Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes( sal_Int32 columnIndex )
{ {
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -185,7 +185,7 @@ Sequence< sal_Int8 > SAL_CALL OResultSet::getBytes( sal_Int32 columnIndex ) thro
} }
Date SAL_CALL OResultSet::getDate( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) Date SAL_CALL OResultSet::getDate( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -196,7 +196,7 @@ Date SAL_CALL OResultSet::getDate( sal_Int32 columnIndex ) throw(SQLException, R
} }
double SAL_CALL OResultSet::getDouble( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) double SAL_CALL OResultSet::getDouble( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -207,7 +207,7 @@ double SAL_CALL OResultSet::getDouble( sal_Int32 columnIndex ) throw(SQLExceptio
} }
float SAL_CALL OResultSet::getFloat( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) float SAL_CALL OResultSet::getFloat( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -218,7 +218,7 @@ float SAL_CALL OResultSet::getFloat( sal_Int32 columnIndex ) throw(SQLException,
} }
sal_Int32 SAL_CALL OResultSet::getInt( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL OResultSet::getInt( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -228,7 +228,7 @@ sal_Int32 SAL_CALL OResultSet::getInt( sal_Int32 columnIndex ) throw(SQLExceptio
} }
sal_Int32 SAL_CALL OResultSet::getRow( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL OResultSet::getRow( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -238,7 +238,7 @@ sal_Int32 SAL_CALL OResultSet::getRow( ) throw(SQLException, RuntimeException)
} }
sal_Int64 SAL_CALL OResultSet::getLong( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) sal_Int64 SAL_CALL OResultSet::getLong( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -247,7 +247,7 @@ sal_Int64 SAL_CALL OResultSet::getLong( sal_Int32 columnIndex ) throw(SQLExcepti
} }
Reference< XResultSetMetaData > SAL_CALL OResultSet::getMetaData( ) throw(SQLException, RuntimeException) Reference< XResultSetMetaData > SAL_CALL OResultSet::getMetaData( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -258,7 +258,7 @@ Reference< XResultSetMetaData > SAL_CALL OResultSet::getMetaData( ) throw(SQLEx
return m_xMetaData; return m_xMetaData;
} }
Reference< XArray > SAL_CALL OResultSet::getArray( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) Reference< XArray > SAL_CALL OResultSet::getArray( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -267,7 +267,7 @@ Reference< XArray > SAL_CALL OResultSet::getArray( sal_Int32 columnIndex ) throw
} }
Reference< XClob > SAL_CALL OResultSet::getClob( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) Reference< XClob > SAL_CALL OResultSet::getClob( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -275,7 +275,7 @@ Reference< XClob > SAL_CALL OResultSet::getClob( sal_Int32 columnIndex ) throw(S
return NULL; return NULL;
} }
Reference< XBlob > SAL_CALL OResultSet::getBlob( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) Reference< XBlob > SAL_CALL OResultSet::getBlob( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -284,7 +284,7 @@ Reference< XBlob > SAL_CALL OResultSet::getBlob( sal_Int32 columnIndex ) throw(S
} }
Reference< XRef > SAL_CALL OResultSet::getRef( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) Reference< XRef > SAL_CALL OResultSet::getRef( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -293,7 +293,7 @@ Reference< XRef > SAL_CALL OResultSet::getRef( sal_Int32 columnIndex ) throw(SQL
} }
Any SAL_CALL OResultSet::getObject( sal_Int32 columnIndex, const Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(SQLException, RuntimeException) Any SAL_CALL OResultSet::getObject( sal_Int32 columnIndex, const Reference< ::com::sun::star::container::XNameAccess >& typeMap )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -302,7 +302,7 @@ Any SAL_CALL OResultSet::getObject( sal_Int32 columnIndex, const Reference< ::co
} }
sal_Int16 SAL_CALL OResultSet::getShort( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) sal_Int16 SAL_CALL OResultSet::getShort( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -313,7 +313,7 @@ sal_Int16 SAL_CALL OResultSet::getShort( sal_Int32 columnIndex ) throw(SQLExcept
} }
::rtl::OUString SAL_CALL OResultSet::getString( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL OResultSet::getString( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -324,7 +324,7 @@ sal_Int16 SAL_CALL OResultSet::getShort( sal_Int32 columnIndex ) throw(SQLExcept
} }
css::util::Time SAL_CALL OResultSet::getTime( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) css::util::Time SAL_CALL OResultSet::getTime( sal_Int32 columnIndex )
{ {
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -335,7 +335,7 @@ css::util::Time SAL_CALL OResultSet::getTime( sal_Int32 columnIndex ) throw(SQLE
} }
DateTime SAL_CALL OResultSet::getTimestamp( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) DateTime SAL_CALL OResultSet::getTimestamp( sal_Int32 columnIndex )
{ {
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -347,7 +347,7 @@ DateTime SAL_CALL OResultSet::getTimestamp( sal_Int32 columnIndex ) throw(SQLExc
} }
sal_Bool SAL_CALL OResultSet::isBeforeFirst( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::isBeforeFirst( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -358,7 +358,7 @@ sal_Bool SAL_CALL OResultSet::isBeforeFirst( ) throw(SQLException, RuntimeExcep
return sal_True; return sal_True;
} }
sal_Bool SAL_CALL OResultSet::isAfterLast( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::isAfterLast( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -366,7 +366,7 @@ sal_Bool SAL_CALL OResultSet::isAfterLast( ) throw(SQLException, RuntimeExcepti
return sal_True; return sal_True;
} }
sal_Bool SAL_CALL OResultSet::isFirst( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::isFirst( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -375,7 +375,7 @@ sal_Bool SAL_CALL OResultSet::isFirst( ) throw(SQLException, RuntimeException)
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL OResultSet::isLast( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::isLast( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -384,7 +384,7 @@ sal_Bool SAL_CALL OResultSet::isLast( ) throw(SQLException, RuntimeException)
return sal_False; return sal_False;
} }
void SAL_CALL OResultSet::beforeFirst( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::beforeFirst( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -393,14 +393,14 @@ void SAL_CALL OResultSet::beforeFirst( ) throw(SQLException, RuntimeException)
// the same for other movement methods // the same for other movement methods
} }
void SAL_CALL OResultSet::afterLast( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::afterLast( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::close( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::close( )
{ {
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
@@ -411,7 +411,7 @@ void SAL_CALL OResultSet::close( ) throw(SQLException, RuntimeException)
} }
sal_Bool SAL_CALL OResultSet::first( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::first( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -420,7 +420,7 @@ sal_Bool SAL_CALL OResultSet::first( ) throw(SQLException, RuntimeException)
} }
sal_Bool SAL_CALL OResultSet::last( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::last( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -428,7 +428,7 @@ sal_Bool SAL_CALL OResultSet::last( ) throw(SQLException, RuntimeException)
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL OResultSet::absolute( sal_Int32 row ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::absolute( sal_Int32 row )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -436,7 +436,7 @@ sal_Bool SAL_CALL OResultSet::absolute( sal_Int32 row ) throw(SQLException, Runt
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL OResultSet::relative( sal_Int32 row ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::relative( sal_Int32 row )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -444,7 +444,7 @@ sal_Bool SAL_CALL OResultSet::relative( sal_Int32 row ) throw(SQLException, Runt
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL OResultSet::previous( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::previous( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -452,7 +452,7 @@ sal_Bool SAL_CALL OResultSet::previous( ) throw(SQLException, RuntimeException)
return sal_False; return sal_False;
} }
Reference< XInterface > SAL_CALL OResultSet::getStatement( ) throw(SQLException, RuntimeException) Reference< XInterface > SAL_CALL OResultSet::getStatement( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -462,7 +462,7 @@ Reference< XInterface > SAL_CALL OResultSet::getStatement( ) throw(SQLException
} }
sal_Bool SAL_CALL OResultSet::rowDeleted( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::rowDeleted( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -471,7 +471,7 @@ sal_Bool SAL_CALL OResultSet::rowDeleted( ) throw(SQLException, RuntimeExceptio
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL OResultSet::rowInserted( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::rowInserted( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -480,7 +480,7 @@ sal_Bool SAL_CALL OResultSet::rowInserted( ) throw(SQLException, RuntimeExcepti
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL OResultSet::rowUpdated( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::rowUpdated( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -490,7 +490,7 @@ sal_Bool SAL_CALL OResultSet::rowUpdated( ) throw(SQLException, RuntimeExceptio
} }
sal_Bool SAL_CALL OResultSet::next( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::next( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -500,7 +500,7 @@ sal_Bool SAL_CALL OResultSet::next( ) throw(SQLException, RuntimeException)
} }
sal_Bool SAL_CALL OResultSet::wasNull( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::wasNull( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -510,23 +510,23 @@ sal_Bool SAL_CALL OResultSet::wasNull( ) throw(SQLException, RuntimeException)
} }
void SAL_CALL OResultSet::cancel( ) throw(RuntimeException) void SAL_CALL OResultSet::cancel( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::clearWarnings( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::clearWarnings( )
{ {
} }
Any SAL_CALL OResultSet::getWarnings( ) throw(SQLException, RuntimeException) Any SAL_CALL OResultSet::getWarnings( )
{ {
return Any(); return Any();
} }
void SAL_CALL OResultSet::insertRow( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::insertRow( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -534,7 +534,7 @@ void SAL_CALL OResultSet::insertRow( ) throw(SQLException, RuntimeException)
// you only have to implement this if you want to insert new rows // you only have to implement this if you want to insert new rows
} }
void SAL_CALL OResultSet::updateRow( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateRow( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -543,21 +543,21 @@ void SAL_CALL OResultSet::updateRow( ) throw(SQLException, RuntimeException)
// only when you allow updates // only when you allow updates
} }
void SAL_CALL OResultSet::deleteRow( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::deleteRow( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::cancelRowUpdates( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::cancelRowUpdates( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::moveToInsertRow( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::moveToInsertRow( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -567,28 +567,28 @@ void SAL_CALL OResultSet::moveToInsertRow( ) throw(SQLException, RuntimeExcepti
} }
void SAL_CALL OResultSet::moveToCurrentRow( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::moveToCurrentRow( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::updateNull( sal_Int32 columnIndex ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateNull( sal_Int32 columnIndex )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::updateBoolean( sal_Int32 columnIndex, sal_Bool x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateBoolean( sal_Int32 columnIndex, sal_Bool x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::updateByte( sal_Int32 columnIndex, sal_Int8 x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateByte( sal_Int32 columnIndex, sal_Int8 x )
{ {
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
@@ -596,28 +596,28 @@ void SAL_CALL OResultSet::updateByte( sal_Int32 columnIndex, sal_Int8 x ) throw(
} }
void SAL_CALL OResultSet::updateShort( sal_Int32 columnIndex, sal_Int16 x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateShort( sal_Int32 columnIndex, sal_Int16 x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::updateInt( sal_Int32 columnIndex, sal_Int32 x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateInt( sal_Int32 columnIndex, sal_Int32 x )
{ {
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
} }
void SAL_CALL OResultSet::updateLong( sal_Int32 columnIndex, sal_Int64 x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateLong( sal_Int32 columnIndex, sal_Int64 x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::updateFloat( sal_Int32 columnIndex, float x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateFloat( sal_Int32 columnIndex, float x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -625,28 +625,28 @@ void SAL_CALL OResultSet::updateFloat( sal_Int32 columnIndex, float x ) throw(SQ
} }
void SAL_CALL OResultSet::updateDouble( sal_Int32 columnIndex, double x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateDouble( sal_Int32 columnIndex, double x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::updateString( sal_Int32 columnIndex, const ::rtl::OUString& x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateString( sal_Int32 columnIndex, const ::rtl::OUString& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::updateBytes( sal_Int32 columnIndex, const Sequence< sal_Int8 >& x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateBytes( sal_Int32 columnIndex, const Sequence< sal_Int8 >& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::updateDate( sal_Int32 columnIndex, const Date& x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateDate( sal_Int32 columnIndex, const Date& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -654,7 +654,7 @@ void SAL_CALL OResultSet::updateDate( sal_Int32 columnIndex, const Date& x ) thr
} }
void SAL_CALL OResultSet::updateTime( sal_Int32 columnIndex, const css::util::Time& x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateTime( sal_Int32 columnIndex, const css::util::Time& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -662,7 +662,7 @@ void SAL_CALL OResultSet::updateTime( sal_Int32 columnIndex, const css::util::Ti
} }
void SAL_CALL OResultSet::updateTimestamp( sal_Int32 columnIndex, const DateTime& x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateTimestamp( sal_Int32 columnIndex, const DateTime& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -670,28 +670,28 @@ void SAL_CALL OResultSet::updateTimestamp( sal_Int32 columnIndex, const DateTime
} }
void SAL_CALL OResultSet::updateBinaryStream( sal_Int32 columnIndex, const Reference< XInputStream >& x, sal_Int32 length ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateBinaryStream( sal_Int32 columnIndex, const Reference< XInputStream >& x, sal_Int32 length )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::updateCharacterStream( sal_Int32 columnIndex, const Reference< XInputStream >& x, sal_Int32 length ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateCharacterStream( sal_Int32 columnIndex, const Reference< XInputStream >& x, sal_Int32 length )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::refreshRow( ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::refreshRow( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
} }
void SAL_CALL OResultSet::updateObject( sal_Int32 columnIndex, const Any& x ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateObject( sal_Int32 columnIndex, const Any& x )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -699,7 +699,7 @@ void SAL_CALL OResultSet::updateObject( sal_Int32 columnIndex, const Any& x ) th
} }
void SAL_CALL OResultSet::updateNumericObject( sal_Int32 columnIndex, const Any& x, sal_Int32 scale ) throw(SQLException, RuntimeException) void SAL_CALL OResultSet::updateNumericObject( sal_Int32 columnIndex, const Any& x, sal_Int32 scale )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -707,7 +707,7 @@ void SAL_CALL OResultSet::updateNumericObject( sal_Int32 columnIndex, const Any&
} }
// XRowLocate // XRowLocate
Any SAL_CALL OResultSet::getBookmark( ) throw( SQLException, RuntimeException) Any SAL_CALL OResultSet::getBookmark( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -717,7 +717,7 @@ Any SAL_CALL OResultSet::getBookmark( ) throw( SQLException, RuntimeException)
return Any(); return Any();
} }
sal_Bool SAL_CALL OResultSet::moveToBookmark( const Any& bookmark ) throw( SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::moveToBookmark( const Any& bookmark )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -725,7 +725,7 @@ sal_Bool SAL_CALL OResultSet::moveToBookmark( const Any& bookmark ) throw( SQLE
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL OResultSet::moveRelativeToBookmark( const Any& bookmark, sal_Int32 rows ) throw( SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::moveRelativeToBookmark( const Any& bookmark, sal_Int32 rows )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -733,7 +733,7 @@ sal_Bool SAL_CALL OResultSet::moveRelativeToBookmark( const Any& bookmark, sal_
return sal_False; return sal_False;
} }
sal_Int32 SAL_CALL OResultSet::compareBookmarks( const Any& first, const Any& second ) throw( SQLException, RuntimeException) sal_Int32 SAL_CALL OResultSet::compareBookmarks( const Any& first, const Any& second )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -742,18 +742,18 @@ sal_Int32 SAL_CALL OResultSet::compareBookmarks( const Any& first, const Any&
return CompareBookmark::NOT_EQUAL; return CompareBookmark::NOT_EQUAL;
} }
sal_Bool SAL_CALL OResultSet::hasOrderedBookmarks( ) throw( SQLException, RuntimeException) sal_Bool SAL_CALL OResultSet::hasOrderedBookmarks( )
{ {
return sal_False; return sal_False;
} }
sal_Int32 SAL_CALL OResultSet::hashBookmark( const Any& bookmark ) throw( SQLException, RuntimeException) sal_Int32 SAL_CALL OResultSet::hashBookmark( const Any& bookmark )
{ {
throw SQLException(); throw SQLException();
} }
// XDeleteRows // XDeleteRows
Sequence< sal_Int32 > SAL_CALL OResultSet::deleteRows( const Sequence< Any >& rows ) throw( SQLException, RuntimeException) Sequence< sal_Int32 > SAL_CALL OResultSet::deleteRows( const Sequence< Any >& rows )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OResultSet_BASE::rBHelper.bDisposed); checkDisposed(OResultSet_BASE::rBHelper.bDisposed);
@@ -792,7 +792,6 @@ sal_Bool OResultSet::convertFastPropertyValue(
Any & rOldValue, Any & rOldValue,
sal_Int32 nHandle, sal_Int32 nHandle,
const Any& rValue ) const Any& rValue )
throw (::com::sun::star::lang::IllegalArgumentException)
{ {
switch(nHandle) switch(nHandle)
{ {
@@ -814,7 +813,6 @@ void OResultSet::setFastPropertyValue_NoBroadcast(
sal_Int32 nHandle, sal_Int32 nHandle,
const Any& rValue const Any& rValue
) )
throw (Exception)
{ {
switch(nHandle) switch(nHandle)
{ {
@@ -860,7 +858,7 @@ void SAL_CALL OResultSet::release() throw()
OResultSet_BASE::release(); OResultSet_BASE::release();
} }
::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OResultSet::getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException) ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OResultSet::getPropertySetInfo( )
{ {
return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper()); return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper());
} }

View File

@@ -93,13 +93,11 @@ namespace connectivity
::com::sun::star::uno::Any & rConvertedValue, ::com::sun::star::uno::Any & rConvertedValue,
::com::sun::star::uno::Any & rOldValue, ::com::sun::star::uno::Any & rOldValue,
sal_Int32 nHandle, sal_Int32 nHandle,
const ::com::sun::star::uno::Any& rValue ) const ::com::sun::star::uno::Any& rValue );
throw (::com::sun::star::lang::IllegalArgumentException);
virtual void SAL_CALL setFastPropertyValue_NoBroadcast( virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
sal_Int32 nHandle, sal_Int32 nHandle,
const ::com::sun::star::uno::Any& rValue const ::com::sun::star::uno::Any& rValue
) );
throw (::com::sun::star::uno::Exception);
virtual void SAL_CALL getFastPropertyValue( virtual void SAL_CALL getFastPropertyValue(
::com::sun::star::uno::Any& rValue, ::com::sun::star::uno::Any& rValue,
sal_Int32 nHandle sal_Int32 nHandle
@@ -121,98 +119,98 @@ namespace connectivity
// ::cppu::OComponentHelper // ::cppu::OComponentHelper
virtual void SAL_CALL disposing(); virtual void SAL_CALL disposing();
// XInterface // XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType );
virtual void SAL_CALL acquire() throw(); virtual void SAL_CALL acquire() throw();
virtual void SAL_CALL release() throw(); virtual void SAL_CALL release() throw();
//XTypeProvider //XTypeProvider
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( );
// XPropertySet // XPropertySet
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( );
// XResultSet // XResultSet
virtual sal_Bool SAL_CALL next( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL next( );
virtual sal_Bool SAL_CALL isBeforeFirst( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isBeforeFirst( );
virtual sal_Bool SAL_CALL isAfterLast( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isAfterLast( );
virtual sal_Bool SAL_CALL isFirst( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isFirst( );
virtual sal_Bool SAL_CALL isLast( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isLast( );
virtual void SAL_CALL beforeFirst( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL beforeFirst( );
virtual void SAL_CALL afterLast( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL afterLast( );
virtual sal_Bool SAL_CALL first( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL first( );
virtual sal_Bool SAL_CALL last( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL last( );
virtual sal_Int32 SAL_CALL getRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getRow( );
virtual sal_Bool SAL_CALL absolute( sal_Int32 row ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL absolute( sal_Int32 row );
virtual sal_Bool SAL_CALL relative( sal_Int32 rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL relative( sal_Int32 rows );
virtual sal_Bool SAL_CALL previous( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL previous( );
virtual void SAL_CALL refreshRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL refreshRow( );
virtual sal_Bool SAL_CALL rowUpdated( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL rowUpdated( );
virtual sal_Bool SAL_CALL rowInserted( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL rowInserted( );
virtual sal_Bool SAL_CALL rowDeleted( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL rowDeleted( );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getStatement( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > SAL_CALL getStatement( );
// XRow // XRow
virtual sal_Bool SAL_CALL wasNull( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL wasNull( );
virtual ::rtl::OUString SAL_CALL getString( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getString( sal_Int32 columnIndex );
virtual sal_Bool SAL_CALL getBoolean( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL getBoolean( sal_Int32 columnIndex );
virtual sal_Int8 SAL_CALL getByte( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int8 SAL_CALL getByte( sal_Int32 columnIndex );
virtual sal_Int16 SAL_CALL getShort( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int16 SAL_CALL getShort( sal_Int32 columnIndex );
virtual sal_Int32 SAL_CALL getInt( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getInt( sal_Int32 columnIndex );
virtual sal_Int64 SAL_CALL getLong( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int64 SAL_CALL getLong( sal_Int32 columnIndex );
virtual float SAL_CALL getFloat( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual float SAL_CALL getFloat( sal_Int32 columnIndex );
virtual double SAL_CALL getDouble( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual double SAL_CALL getDouble( sal_Int32 columnIndex );
virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getBytes( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< sal_Int8 > SAL_CALL getBytes( sal_Int32 columnIndex );
virtual ::com::sun::star::util::Date SAL_CALL getDate( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::util::Date SAL_CALL getDate( sal_Int32 columnIndex );
virtual ::com::sun::star::util::Time SAL_CALL getTime( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::util::Time SAL_CALL getTime( sal_Int32 columnIndex );
virtual ::com::sun::star::util::DateTime SAL_CALL getTimestamp( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::util::DateTime SAL_CALL getTimestamp( sal_Int32 columnIndex );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getBinaryStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getBinaryStream( sal_Int32 columnIndex );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getCharacterStream( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream > SAL_CALL getCharacterStream( sal_Int32 columnIndex );
virtual ::com::sun::star::uno::Any SAL_CALL getObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL getObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::container::XNameAccess >& typeMap );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef > SAL_CALL getRef( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XRef > SAL_CALL getRef( sal_Int32 columnIndex );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob > SAL_CALL getBlob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XBlob > SAL_CALL getBlob( sal_Int32 columnIndex );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob > SAL_CALL getClob( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XClob > SAL_CALL getClob( sal_Int32 columnIndex );
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray > SAL_CALL getArray( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XArray > SAL_CALL getArray( sal_Int32 columnIndex );
// XResultSetMetaDataSupplier // XResultSetMetaDataSupplier
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > SAL_CALL getMetaData( );
// XCancellable // XCancellable
virtual void SAL_CALL cancel( ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL cancel( );
// XCloseable // XCloseable
virtual void SAL_CALL close( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL close( );
// XWarningsSupplier // XWarningsSupplier
virtual ::com::sun::star::uno::Any SAL_CALL getWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL getWarnings( );
virtual void SAL_CALL clearWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL clearWarnings( );
// XResultSetUpdate // XResultSetUpdate
virtual void SAL_CALL insertRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL insertRow( );
virtual void SAL_CALL updateRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateRow( );
virtual void SAL_CALL deleteRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL deleteRow( );
virtual void SAL_CALL cancelRowUpdates( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL cancelRowUpdates( );
virtual void SAL_CALL moveToInsertRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL moveToInsertRow( );
virtual void SAL_CALL moveToCurrentRow( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL moveToCurrentRow( );
// XRowUpdate // XRowUpdate
virtual void SAL_CALL updateNull( sal_Int32 columnIndex ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateNull( sal_Int32 columnIndex );
virtual void SAL_CALL updateBoolean( sal_Int32 columnIndex, sal_Bool x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateBoolean( sal_Int32 columnIndex, sal_Bool x );
virtual void SAL_CALL updateByte( sal_Int32 columnIndex, sal_Int8 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateByte( sal_Int32 columnIndex, sal_Int8 x );
virtual void SAL_CALL updateShort( sal_Int32 columnIndex, sal_Int16 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateShort( sal_Int32 columnIndex, sal_Int16 x );
virtual void SAL_CALL updateInt( sal_Int32 columnIndex, sal_Int32 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateInt( sal_Int32 columnIndex, sal_Int32 x );
virtual void SAL_CALL updateLong( sal_Int32 columnIndex, sal_Int64 x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateLong( sal_Int32 columnIndex, sal_Int64 x );
virtual void SAL_CALL updateFloat( sal_Int32 columnIndex, float x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateFloat( sal_Int32 columnIndex, float x );
virtual void SAL_CALL updateDouble( sal_Int32 columnIndex, double x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateDouble( sal_Int32 columnIndex, double x );
virtual void SAL_CALL updateString( sal_Int32 columnIndex, const ::rtl::OUString& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateString( sal_Int32 columnIndex, const ::rtl::OUString& x );
virtual void SAL_CALL updateBytes( sal_Int32 columnIndex, const ::com::sun::star::uno::Sequence< sal_Int8 >& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateBytes( sal_Int32 columnIndex, const ::com::sun::star::uno::Sequence< sal_Int8 >& x );
virtual void SAL_CALL updateDate( sal_Int32 columnIndex, const ::com::sun::star::util::Date& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateDate( sal_Int32 columnIndex, const ::com::sun::star::util::Date& x );
virtual void SAL_CALL updateTime( sal_Int32 columnIndex, const ::com::sun::star::util::Time& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateTime( sal_Int32 columnIndex, const ::com::sun::star::util::Time& x );
virtual void SAL_CALL updateTimestamp( sal_Int32 columnIndex, const ::com::sun::star::util::DateTime& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateTimestamp( sal_Int32 columnIndex, const ::com::sun::star::util::DateTime& x );
virtual void SAL_CALL updateBinaryStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateBinaryStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length );
virtual void SAL_CALL updateCharacterStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateCharacterStream( sal_Int32 columnIndex, const ::com::sun::star::uno::Reference< ::com::sun::star::io::XInputStream >& x, sal_Int32 length );
virtual void SAL_CALL updateObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x );
virtual void SAL_CALL updateNumericObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x, sal_Int32 scale ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL updateNumericObject( sal_Int32 columnIndex, const ::com::sun::star::uno::Any& x, sal_Int32 scale );
// XColumnLocate // XColumnLocate
virtual sal_Int32 SAL_CALL findColumn( const ::rtl::OUString& columnName ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL findColumn( const ::rtl::OUString& columnName );
// XRowLocate // XRowLocate
virtual ::com::sun::star::uno::Any SAL_CALL getBookmark( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL getBookmark( );
virtual sal_Bool SAL_CALL moveToBookmark( const ::com::sun::star::uno::Any& bookmark ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL moveToBookmark( const ::com::sun::star::uno::Any& bookmark );
virtual sal_Bool SAL_CALL moveRelativeToBookmark( const ::com::sun::star::uno::Any& bookmark, sal_Int32 rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL moveRelativeToBookmark( const ::com::sun::star::uno::Any& bookmark, sal_Int32 rows );
virtual sal_Int32 SAL_CALL compareBookmarks( const ::com::sun::star::uno::Any& first, const ::com::sun::star::uno::Any& second ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL compareBookmarks( const ::com::sun::star::uno::Any& first, const ::com::sun::star::uno::Any& second );
virtual sal_Bool SAL_CALL hasOrderedBookmarks( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL hasOrderedBookmarks( );
virtual sal_Int32 SAL_CALL hashBookmark( const ::com::sun::star::uno::Any& bookmark ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL hashBookmark( const ::com::sun::star::uno::Any& bookmark );
// XDeleteRows // XDeleteRows
virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL deleteRows( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rows ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL deleteRows( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& rows );
}; };
} }
} }

View File

@@ -46,122 +46,122 @@ OResultSetMetaData::~OResultSetMetaData()
} }
sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL OResultSetMetaData::getColumnDisplaySize( sal_Int32 column )
{ {
return 50; return 50;
} }
sal_Int32 SAL_CALL OResultSetMetaData::getColumnType( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL OResultSetMetaData::getColumnType( sal_Int32 column )
{ {
sal_Int32 nType = 0; sal_Int32 nType = 0;
return nType; return nType;
} }
sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount( ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL OResultSetMetaData::getColumnCount( )
{ {
// this makes no sense here so you have to change this // this makes no sense here so you have to change this
return 0; return 0;
} }
sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSetMetaData::isCaseSensitive( sal_Int32 column )
{ {
return sal_True; return sal_True;
} }
::rtl::OUString SAL_CALL OResultSetMetaData::getSchemaName( sal_Int32 column ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL OResultSetMetaData::getSchemaName( sal_Int32 column )
{ {
return ::rtl::OUString(); return ::rtl::OUString();
} }
::rtl::OUString SAL_CALL OResultSetMetaData::getColumnName( sal_Int32 column ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL OResultSetMetaData::getColumnName( sal_Int32 column )
{ {
return ::rtl::OUString("Column") + ::rtl::OUString::number(column); return ::rtl::OUString("Column") + ::rtl::OUString::number(column);
} }
::rtl::OUString SAL_CALL OResultSetMetaData::getTableName( sal_Int32 column ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL OResultSetMetaData::getTableName( sal_Int32 column )
{ {
return ::rtl::OUString(); return ::rtl::OUString();
} }
::rtl::OUString SAL_CALL OResultSetMetaData::getCatalogName( sal_Int32 column ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL OResultSetMetaData::getCatalogName( sal_Int32 column )
{ {
return ::rtl::OUString(); return ::rtl::OUString();
} }
::rtl::OUString SAL_CALL OResultSetMetaData::getColumnTypeName( sal_Int32 column ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL OResultSetMetaData::getColumnTypeName( sal_Int32 column )
{ {
return ::rtl::OUString(); return ::rtl::OUString();
} }
::rtl::OUString SAL_CALL OResultSetMetaData::getColumnLabel( sal_Int32 column ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL OResultSetMetaData::getColumnLabel( sal_Int32 column )
{ {
return ::rtl::OUString(); return ::rtl::OUString();
} }
::rtl::OUString SAL_CALL OResultSetMetaData::getColumnServiceName( sal_Int32 column ) throw(SQLException, RuntimeException) ::rtl::OUString SAL_CALL OResultSetMetaData::getColumnServiceName( sal_Int32 column )
{ {
return ::rtl::OUString(); return ::rtl::OUString();
} }
sal_Bool SAL_CALL OResultSetMetaData::isCurrency( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSetMetaData::isCurrency( sal_Int32 column )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSetMetaData::isAutoIncrement( sal_Int32 column )
{ {
return sal_False; return sal_False;
} }
sal_Bool SAL_CALL OResultSetMetaData::isSigned( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSetMetaData::isSigned( sal_Int32 column )
{ {
return sal_False; return sal_False;
} }
sal_Int32 SAL_CALL OResultSetMetaData::getPrecision( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL OResultSetMetaData::getPrecision( sal_Int32 column )
{ {
return 0; return 0;
} }
sal_Int32 SAL_CALL OResultSetMetaData::getScale( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) sal_Int32 SAL_CALL OResultSetMetaData::getScale( sal_Int32 column )
{ {
return 0; return 0;
} }
sal_Int32 SAL_CALL OResultSetMetaData::isNullable( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL OResultSetMetaData::isNullable( sal_Int32 column )
{ {
return 0; return 0;
} }
sal_Bool SAL_CALL OResultSetMetaData::isSearchable( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSetMetaData::isSearchable( sal_Int32 column )
{ {
return sal_True; return sal_True;
} }
sal_Bool SAL_CALL OResultSetMetaData::isReadOnly( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSetMetaData::isReadOnly( sal_Int32 column )
{ {
return sal_True; return sal_True;
} }
sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSetMetaData::isDefinitelyWritable( sal_Int32 column )
{ {
return sal_False; return sal_False;
; ;
} }
sal_Bool SAL_CALL OResultSetMetaData::isWritable( sal_Int32 column ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OResultSetMetaData::isWritable( sal_Int32 column )
{ {
return sal_False; return sal_False;
} }

View File

@@ -61,27 +61,27 @@ namespace connectivity
inline operator ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > () throw() inline operator ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSetMetaData > () throw()
{ return this; } { return this; }
virtual sal_Int32 SAL_CALL getColumnCount( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getColumnCount( );
virtual sal_Bool SAL_CALL isAutoIncrement( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isAutoIncrement( sal_Int32 column );
virtual sal_Bool SAL_CALL isCaseSensitive( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isCaseSensitive( sal_Int32 column );
virtual sal_Bool SAL_CALL isSearchable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isSearchable( sal_Int32 column );
virtual sal_Bool SAL_CALL isCurrency( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isCurrency( sal_Int32 column );
virtual sal_Int32 SAL_CALL isNullable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL isNullable( sal_Int32 column );
virtual sal_Bool SAL_CALL isSigned( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isSigned( sal_Int32 column );
virtual sal_Int32 SAL_CALL getColumnDisplaySize( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getColumnDisplaySize( sal_Int32 column );
virtual ::rtl::OUString SAL_CALL getColumnLabel( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getColumnLabel( sal_Int32 column );
virtual ::rtl::OUString SAL_CALL getColumnName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getColumnName( sal_Int32 column );
virtual ::rtl::OUString SAL_CALL getSchemaName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getSchemaName( sal_Int32 column );
virtual sal_Int32 SAL_CALL getPrecision( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getPrecision( sal_Int32 column );
virtual sal_Int32 SAL_CALL getScale( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getScale( sal_Int32 column );
virtual ::rtl::OUString SAL_CALL getTableName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getTableName( sal_Int32 column );
virtual ::rtl::OUString SAL_CALL getCatalogName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getCatalogName( sal_Int32 column );
virtual sal_Int32 SAL_CALL getColumnType( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getColumnType( sal_Int32 column );
virtual ::rtl::OUString SAL_CALL getColumnTypeName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getColumnTypeName( sal_Int32 column );
virtual sal_Bool SAL_CALL isReadOnly( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isReadOnly( sal_Int32 column );
virtual sal_Bool SAL_CALL isWritable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isWritable( sal_Int32 column );
virtual sal_Bool SAL_CALL isDefinitelyWritable( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL isDefinitelyWritable( sal_Int32 column );
virtual ::rtl::OUString SAL_CALL getColumnServiceName( sal_Int32 column ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::rtl::OUString SAL_CALL getColumnServiceName( sal_Int32 column );
}; };
} }
} }

View File

@@ -98,7 +98,7 @@ void SAL_CALL OStatement_BASE2::release() throw()
release_ChildImpl(); release_ChildImpl();
} }
Any SAL_CALL OStatement_Base::queryInterface( const Type & rType ) throw(RuntimeException) Any SAL_CALL OStatement_Base::queryInterface( const Type & rType )
{ {
Any aRet = OStatement_BASE::queryInterface(rType); Any aRet = OStatement_BASE::queryInterface(rType);
if(!aRet.hasValue()) if(!aRet.hasValue())
@@ -106,7 +106,7 @@ Any SAL_CALL OStatement_Base::queryInterface( const Type & rType ) throw(Runtime
return aRet; return aRet;
} }
Sequence< Type > SAL_CALL OStatement_Base::getTypes( ) throw(RuntimeException) Sequence< Type > SAL_CALL OStatement_Base::getTypes( )
{ {
::cppu::OTypeCollection aTypes( ::cppu::OTypeCollection aTypes(
::cppu::UnoType<XMultiPropertySet>::get(), ::cppu::UnoType<XMultiPropertySet>::get(),
@@ -117,7 +117,7 @@ Sequence< Type > SAL_CALL OStatement_Base::getTypes( ) throw(RuntimeException)
} }
void SAL_CALL OStatement_Base::cancel( ) throw(RuntimeException) void SAL_CALL OStatement_Base::cancel( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -125,7 +125,7 @@ void SAL_CALL OStatement_Base::cancel( ) throw(RuntimeException)
} }
void SAL_CALL OStatement_Base::close( ) throw(SQLException, RuntimeException) void SAL_CALL OStatement_Base::close( )
{ {
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
@@ -136,12 +136,12 @@ void SAL_CALL OStatement_Base::close( ) throw(SQLException, RuntimeException)
} }
void SAL_CALL OStatement::clearBatch( ) throw(SQLException, RuntimeException) void SAL_CALL OStatement::clearBatch( )
{ {
// if you support batches clear it here // if you support batches clear it here
} }
sal_Bool SAL_CALL OStatement_Base::execute( const ::rtl::OUString& sql ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OStatement_Base::execute( const ::rtl::OUString& sql )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -151,7 +151,7 @@ sal_Bool SAL_CALL OStatement_Base::execute( const ::rtl::OUString& sql ) throw(S
} }
Reference< XResultSet > SAL_CALL OStatement_Base::executeQuery( const ::rtl::OUString& sql ) throw(SQLException, RuntimeException) Reference< XResultSet > SAL_CALL OStatement_Base::executeQuery( const ::rtl::OUString& sql )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -165,7 +165,7 @@ Reference< XResultSet > SAL_CALL OStatement_Base::executeQuery( const ::rtl::OUS
} }
Reference< XConnection > SAL_CALL OStatement_Base::getConnection( ) throw(SQLException, RuntimeException) Reference< XConnection > SAL_CALL OStatement_Base::getConnection( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -174,13 +174,13 @@ Reference< XConnection > SAL_CALL OStatement_Base::getConnection( ) throw(SQLEx
return (Reference< XConnection >)m_pConnection; return (Reference< XConnection >)m_pConnection;
} }
sal_Int32 SAL_CALL OStatement_Base::getUpdateCount( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) sal_Int32 SAL_CALL OStatement_Base::getUpdateCount( )
{ {
return 0; return 0;
} }
Any SAL_CALL OStatement::queryInterface( const Type & rType ) throw(RuntimeException) Any SAL_CALL OStatement::queryInterface( const Type & rType )
{ {
Any aRet = ::cppu::queryInterface(rType,static_cast< XBatchExecution*> (this)); Any aRet = ::cppu::queryInterface(rType,static_cast< XBatchExecution*> (this));
if(!aRet.hasValue()) if(!aRet.hasValue())
@@ -189,7 +189,7 @@ Any SAL_CALL OStatement::queryInterface( const Type & rType ) throw(RuntimeExcep
} }
void SAL_CALL OStatement::addBatch( const ::rtl::OUString& sql ) throw(SQLException, RuntimeException) void SAL_CALL OStatement::addBatch( const ::rtl::OUString& sql )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -198,7 +198,7 @@ void SAL_CALL OStatement::addBatch( const ::rtl::OUString& sql ) throw(SQLExcept
m_aBatchVector.push_back(sql); m_aBatchVector.push_back(sql);
} }
Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch( ) throw(SQLException, RuntimeException) Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -207,7 +207,7 @@ Sequence< sal_Int32 > SAL_CALL OStatement::executeBatch( ) throw(SQLException,
} }
sal_Int32 SAL_CALL OStatement_Base::executeUpdate( const ::rtl::OUString& sql ) throw(SQLException, RuntimeException) sal_Int32 SAL_CALL OStatement_Base::executeUpdate( const ::rtl::OUString& sql )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -218,7 +218,7 @@ sal_Int32 SAL_CALL OStatement_Base::executeUpdate( const ::rtl::OUString& sql )
} }
Reference< XResultSet > SAL_CALL OStatement_Base::getResultSet( ) throw(SQLException, RuntimeException) Reference< XResultSet > SAL_CALL OStatement_Base::getResultSet( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -228,7 +228,7 @@ Reference< XResultSet > SAL_CALL OStatement_Base::getResultSet( ) throw(SQLExce
} }
sal_Bool SAL_CALL OStatement_Base::getMoreResults( ) throw(SQLException, RuntimeException) sal_Bool SAL_CALL OStatement_Base::getMoreResults( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -239,7 +239,7 @@ sal_Bool SAL_CALL OStatement_Base::getMoreResults( ) throw(SQLException, Runtim
} }
Any SAL_CALL OStatement_Base::getWarnings( ) throw(SQLException, RuntimeException) Any SAL_CALL OStatement_Base::getWarnings( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -249,7 +249,7 @@ Any SAL_CALL OStatement_Base::getWarnings( ) throw(SQLException, RuntimeExcepti
} }
void SAL_CALL OStatement_Base::clearWarnings( ) throw(SQLException, RuntimeException) void SAL_CALL OStatement_Base::clearWarnings( )
{ {
::osl::MutexGuard aGuard( m_aMutex ); ::osl::MutexGuard aGuard( m_aMutex );
checkDisposed(OStatement_BASE::rBHelper.bDisposed); checkDisposed(OStatement_BASE::rBHelper.bDisposed);
@@ -300,14 +300,13 @@ sal_Bool OStatement_Base::convertFastPropertyValue(
Any & rOldValue, Any & rOldValue,
sal_Int32 nHandle, sal_Int32 nHandle,
const Any& rValue ) const Any& rValue )
throw (::com::sun::star::lang::IllegalArgumentException)
{ {
sal_Bool bConverted = sal_False; sal_Bool bConverted = sal_False;
// here we have to try to convert // here we have to try to convert
return bConverted; return bConverted;
} }
void OStatement_Base::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rValue) throw (Exception) void OStatement_Base::setFastPropertyValue_NoBroadcast(sal_Int32 nHandle,const Any& rValue)
{ {
// set the value to whatever is necessary // set the value to whatever is necessary
switch(nHandle) switch(nHandle)
@@ -368,7 +367,7 @@ void SAL_CALL OStatement::release() throw()
OStatement_BASE2::release(); OStatement_BASE2::release();
} }
Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OStatement_Base::getPropertySetInfo( ) throw(RuntimeException) Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL OStatement_Base::getPropertySetInfo( )
{ {
return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper()); return ::cppu::OPropertySetHelper::createPropertySetInfo(getInfoHelper());
} }

View File

@@ -87,11 +87,10 @@ namespace connectivity
::com::sun::star::uno::Any & rConvertedValue, ::com::sun::star::uno::Any & rConvertedValue,
::com::sun::star::uno::Any & rOldValue, ::com::sun::star::uno::Any & rOldValue,
sal_Int32 nHandle, sal_Int32 nHandle,
const ::com::sun::star::uno::Any& rValue ) const ::com::sun::star::uno::Any& rValue );
throw (::com::sun::star::lang::IllegalArgumentException);
virtual void SAL_CALL setFastPropertyValue_NoBroadcast( virtual void SAL_CALL setFastPropertyValue_NoBroadcast(
sal_Int32 nHandle, sal_Int32 nHandle,
const ::com::sun::star::uno::Any& rValue) throw (::com::sun::star::uno::Exception); const ::com::sun::star::uno::Any& rValue);
virtual void SAL_CALL getFastPropertyValue( virtual void SAL_CALL getFastPropertyValue(
::com::sun::star::uno::Any& rValue, ::com::sun::star::uno::Any& rValue,
sal_Int32 nHandle) const; sal_Int32 nHandle) const;
@@ -108,28 +107,28 @@ namespace connectivity
virtual void SAL_CALL release() throw(); virtual void SAL_CALL release() throw();
virtual void SAL_CALL acquire() throw(); virtual void SAL_CALL acquire() throw();
// XInterface // XInterface
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType );
//XTypeProvider //XTypeProvider
virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Type > SAL_CALL getTypes( );
// XPropertySet // XPropertySet
virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::beans::XPropertySetInfo > SAL_CALL getPropertySetInfo( );
// XStatement // XStatement
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL executeQuery( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) ; virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL executeQuery( const ::rtl::OUString& sql ) ;
virtual sal_Int32 SAL_CALL executeUpdate( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) ; virtual sal_Int32 SAL_CALL executeUpdate( const ::rtl::OUString& sql ) ;
virtual sal_Bool SAL_CALL execute( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) ; virtual sal_Bool SAL_CALL execute( const ::rtl::OUString& sql ) ;
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException) ; virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XConnection > SAL_CALL getConnection( ) ;
// XWarningsSupplier // XWarningsSupplier
virtual ::com::sun::star::uno::Any SAL_CALL getWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL getWarnings( );
virtual void SAL_CALL clearWarnings( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL clearWarnings( );
// XCancellable // XCancellable
virtual void SAL_CALL cancel( ) throw(::com::sun::star::uno::RuntimeException); virtual void SAL_CALL cancel( );
// XCloseable // XCloseable
virtual void SAL_CALL close( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL close( );
// XMultipleResults // XMultipleResults
virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getResultSet( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Reference< ::com::sun::star::sdbc::XResultSet > SAL_CALL getResultSet( );
virtual sal_Int32 SAL_CALL getUpdateCount( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Int32 SAL_CALL getUpdateCount( );
virtual sal_Bool SAL_CALL getMoreResults( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL getMoreResults( );
// other methods // other methods
OConnection* getOwnConnection() const { return m_pConnection;} OConnection* getOwnConnection() const { return m_pConnection;}
@@ -160,13 +159,13 @@ namespace connectivity
OStatement( OConnection* _pConnection) : OStatement_BASE2( _pConnection){} OStatement( OConnection* _pConnection) : OStatement_BASE2( _pConnection){}
DECLARE_SERVICE_INFO(); DECLARE_SERVICE_INFO();
virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType ) throw(::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Any SAL_CALL queryInterface( const ::com::sun::star::uno::Type & rType );
virtual void SAL_CALL acquire() throw(); virtual void SAL_CALL acquire() throw();
virtual void SAL_CALL release() throw(); virtual void SAL_CALL release() throw();
// XBatchExecution // XBatchExecution
virtual void SAL_CALL addBatch( const ::rtl::OUString& sql ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL addBatch( const ::rtl::OUString& sql );
virtual void SAL_CALL clearBatch( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual void SAL_CALL clearBatch( );
virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL executeBatch( ) throw(::com::sun::star::sdbc::SQLException, ::com::sun::star::uno::RuntimeException); virtual ::com::sun::star::uno::Sequence< sal_Int32 > SAL_CALL executeBatch( );
}; };
} }
} }

View File

@@ -73,7 +73,6 @@ using ::rtl::OString;
OUString SAL_CALL FilterDetect::detect(Sequence< PropertyValue >& aArguments ) OUString SAL_CALL FilterDetect::detect(Sequence< PropertyValue >& aArguments )
throw( RuntimeException )
{ {
// type name to return // type name to return
OUString sOriginalTypeName; OUString sOriginalTypeName;
@@ -174,7 +173,6 @@ OUString SAL_CALL FilterDetect::detect(Sequence< PropertyValue >& aArguments )
// XInitialization // XInitialization
void SAL_CALL FilterDetect::initialize( const Sequence< Any >& aArguments ) void SAL_CALL FilterDetect::initialize( const Sequence< Any >& aArguments )
throw (Exception, RuntimeException)
{ {
Sequence < PropertyValue > aAnySeq; Sequence < PropertyValue > aAnySeq;
sal_Int32 nLength = aArguments.getLength(); sal_Int32 nLength = aArguments.getLength();
@@ -201,7 +199,6 @@ void SAL_CALL FilterDetect::initialize( const Sequence< Any >& aArguments )
} }
OUString FilterDetect_getImplementationName () OUString FilterDetect_getImplementationName ()
throw (RuntimeException)
{ {
return OUString( "devguide.officedev.samples.filter.FlatXmlDetect" ); return OUString( "devguide.officedev.samples.filter.FlatXmlDetect" );
} }
@@ -209,7 +206,6 @@ OUString FilterDetect_getImplementationName ()
#define SERVICE_NAME1 "com.sun.star.document.ExtendedTypeDetection" #define SERVICE_NAME1 "com.sun.star.document.ExtendedTypeDetection"
Sequence< OUString > SAL_CALL FilterDetect_getSupportedServiceNames( ) Sequence< OUString > SAL_CALL FilterDetect_getSupportedServiceNames( )
throw (RuntimeException)
{ {
Sequence < OUString > aRet(2); Sequence < OUString > aRet(2);
OUString* pArray = aRet.getArray(); OUString* pArray = aRet.getArray();
@@ -220,26 +216,22 @@ Sequence< OUString > SAL_CALL FilterDetect_getSupportedServiceNames( )
#undef SERVICE_NAME2 #undef SERVICE_NAME2
Reference< XInterface > SAL_CALL FilterDetect_createInstance( const Reference< XComponentContext > & rContext) Reference< XInterface > SAL_CALL FilterDetect_createInstance( const Reference< XComponentContext > & rContext)
throw( Exception )
{ {
return (cppu::OWeakObject*) new FilterDetect( rContext ); return (cppu::OWeakObject*) new FilterDetect( rContext );
} }
// XServiceInfo // XServiceInfo
OUString SAL_CALL FilterDetect::getImplementationName( ) OUString SAL_CALL FilterDetect::getImplementationName( )
throw (RuntimeException)
{ {
return FilterDetect_getImplementationName(); return FilterDetect_getImplementationName();
} }
sal_Bool SAL_CALL FilterDetect::supportsService( const OUString& rServiceName ) sal_Bool SAL_CALL FilterDetect::supportsService( const OUString& rServiceName )
throw (RuntimeException)
{ {
return cppu::supportsService(this, rServiceName); return cppu::supportsService(this, rServiceName);
} }
Sequence< OUString > SAL_CALL FilterDetect::getSupportedServiceNames( ) Sequence< OUString > SAL_CALL FilterDetect::getSupportedServiceNames( )
throw (RuntimeException)
{ {
return FilterDetect_getSupportedServiceNames(); return FilterDetect_getSupportedServiceNames();
} }

View File

@@ -71,11 +71,9 @@ protected:
::com::sun::star::uno::Sequence< ::rtl::OUString > msUserData; ::com::sun::star::uno::Sequence< ::rtl::OUString > msUserData;
::rtl::OUString msTemplateName; ::rtl::OUString msTemplateName;
sal_Bool SAL_CALL exportImpl( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) sal_Bool SAL_CALL exportImpl( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor );
throw (::com::sun::star::uno::RuntimeException);
sal_Bool SAL_CALL importImpl( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor ) sal_Bool SAL_CALL importImpl( const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& aDescriptor );
throw (::com::sun::star::uno::RuntimeException);
public: public:
FilterDetect( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext) FilterDetect( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > &rxContext)
@@ -84,38 +82,29 @@ public:
virtual ~FilterDetect() {} virtual ~FilterDetect() {}
//XExtendedFilterDetection //XExtendedFilterDetection
virtual ::rtl::OUString SAL_CALL detect( com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& lDescriptor ) virtual ::rtl::OUString SAL_CALL detect( com::sun::star::uno::Sequence< com::sun::star::beans::PropertyValue >& lDescriptor );
throw( com::sun::star::uno::RuntimeException );
// XInitialization // XInitialization
virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments );
throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
// XServiceInfo // XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName( ) virtual ::rtl::OUString SAL_CALL getImplementationName( );
throw (::com::sun::star::uno::RuntimeException);
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName );
throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( ) virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( );
throw (::com::sun::star::uno::RuntimeException);
}; };
::rtl::OUString FilterDetect_getImplementationName() ::rtl::OUString FilterDetect_getImplementationName();
throw ( ::com::sun::star::uno::RuntimeException );
sal_Bool SAL_CALL FilterDetect_supportsService( const ::rtl::OUString& ServiceName ) sal_Bool SAL_CALL FilterDetect_supportsService( const ::rtl::OUString& ServiceName );
throw ( ::com::sun::star::uno::RuntimeException );
::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL FilterDetect_getSupportedServiceNames( ) ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL FilterDetect_getSupportedServiceNames( );
throw ( ::com::sun::star::uno::RuntimeException );
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
SAL_CALL FilterDetect_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rContext) SAL_CALL FilterDetect_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rContext);
throw ( ::com::sun::star::uno::Exception );
#endif #endif

View File

@@ -96,39 +96,28 @@ public:
virtual sal_Bool SAL_CALL importer( virtual sal_Bool SAL_CALL importer(
const Sequence<PropertyValue>& aSourceData, const Sequence<PropertyValue>& aSourceData,
const Reference<XDocumentHandler>& xHandler, const Reference<XDocumentHandler>& xHandler,
const Sequence<OUString>& msUserData) const Sequence<OUString>& msUserData);
throw(RuntimeException);
// XExportFilter // XExportFilter
virtual sal_Bool SAL_CALL exporter( virtual sal_Bool SAL_CALL exporter(
const Sequence<PropertyValue>& aSourceData, const Sequence<PropertyValue>& aSourceData,
const Sequence<OUString>& msUserData) const Sequence<OUString>& msUserData);
throw(RuntimeException);
// XDocumentHandler // XDocumentHandler
virtual void SAL_CALL startDocument() virtual void SAL_CALL startDocument();
throw (SAXException,RuntimeException); virtual void SAL_CALL endDocument();
virtual void SAL_CALL endDocument() virtual void SAL_CALL startElement(const OUString& str, const Reference<XAttributeList>& attriblist);
throw (SAXException, RuntimeException); virtual void SAL_CALL endElement(const OUString& str);
virtual void SAL_CALL startElement(const OUString& str, const Reference<XAttributeList>& attriblist) virtual void SAL_CALL characters(const OUString& str);
throw (SAXException,RuntimeException); virtual void SAL_CALL ignorableWhitespace(const OUString& str);
virtual void SAL_CALL endElement(const OUString& str) virtual void SAL_CALL processingInstruction(const OUString& str, const OUString& str2);
throw (SAXException, RuntimeException); virtual void SAL_CALL setDocumentLocator(const Reference<XLocator>& doclocator);
virtual void SAL_CALL characters(const OUString& str)
throw (SAXException, RuntimeException);
virtual void SAL_CALL ignorableWhitespace(const OUString& str)
throw (SAXException, RuntimeException);
virtual void SAL_CALL processingInstruction(const OUString& str, const OUString& str2)
throw (com::sun::star::xml::sax::SAXException,RuntimeException);
virtual void SAL_CALL setDocumentLocator(const Reference<XLocator>& doclocator)
throw (SAXException,RuntimeException);
}; };
sal_Bool XFlatXml::importer( sal_Bool XFlatXml::importer(
const Sequence<PropertyValue>& aSourceData, const Sequence<PropertyValue>& aSourceData,
const Reference<XDocumentHandler>& xHandler, const Reference<XDocumentHandler>& xHandler,
const Sequence<OUString>& msUserData) const Sequence<OUString>& msUserData)
throw (RuntimeException)
{ {
// get information from media descriptor // get information from media descriptor
// the input stream that represents the imported file // the input stream that represents the imported file
@@ -189,7 +178,6 @@ sal_Bool XFlatXml::importer(
sal_Bool XFlatXml::exporter( sal_Bool XFlatXml::exporter(
const Sequence<PropertyValue>& aSourceData, const Sequence<PropertyValue>& aSourceData,
const Sequence<OUString>& msUserData) const Sequence<OUString>& msUserData)
throw (RuntimeException)
{ {
// read source data // read source data
@@ -231,39 +219,35 @@ sal_Bool XFlatXml::exporter(
// for the DocumentHandler implementation, we just proxy the // for the DocumentHandler implementation, we just proxy the
// events to the XML writer that we created upon the output stream // events to the XML writer that we created upon the output stream
// that was provided by the XMLFilterAdapter // that was provided by the XMLFilterAdapter
void XFlatXml::startDocument() throw (SAXException,RuntimeException){ void XFlatXml::startDocument(){
OSL_ASSERT(m_rDocumentHandler.is()); OSL_ASSERT(m_rDocumentHandler.is());
m_rDocumentHandler->startDocument(); m_rDocumentHandler->startDocument();
} }
void XFlatXml::endDocument() throw (SAXException,RuntimeException){ void XFlatXml::endDocument(){
OSL_ASSERT(m_rDocumentHandler.is()); OSL_ASSERT(m_rDocumentHandler.is());
m_rDocumentHandler->endDocument(); m_rDocumentHandler->endDocument();
} }
void XFlatXml::startElement(const OUString& str, const Reference<XAttributeList>& attriblist) void XFlatXml::startElement(const OUString& str, const Reference<XAttributeList>& attriblist)
throw (SAXException, RuntimeException)
{ {
OSL_ASSERT(m_rDocumentHandler.is()); OSL_ASSERT(m_rDocumentHandler.is());
m_rDocumentHandler->startElement(str, attriblist); m_rDocumentHandler->startElement(str, attriblist);
} }
void XFlatXml::endElement(const OUString& str) void XFlatXml::endElement(const OUString& str)
throw (SAXException, RuntimeException)
{ {
OSL_ASSERT(m_rDocumentHandler.is()); OSL_ASSERT(m_rDocumentHandler.is());
m_rDocumentHandler->endElement(str); m_rDocumentHandler->endElement(str);
} }
void XFlatXml::characters(const OUString& str) void XFlatXml::characters(const OUString& str)
throw (SAXException, RuntimeException)
{ {
OSL_ASSERT(m_rDocumentHandler.is()); OSL_ASSERT(m_rDocumentHandler.is());
m_rDocumentHandler->characters(str); m_rDocumentHandler->characters(str);
} }
void XFlatXml::ignorableWhitespace(const OUString& str) void XFlatXml::ignorableWhitespace(const OUString& str)
throw (SAXException, RuntimeException)
{ {
OSL_ASSERT(m_rDocumentHandler.is()); OSL_ASSERT(m_rDocumentHandler.is());
if (!m_bPrettyPrint) return; if (!m_bPrettyPrint) return;
@@ -271,14 +255,12 @@ void XFlatXml::ignorableWhitespace(const OUString& str)
} }
void XFlatXml::processingInstruction(const OUString& str, const OUString& str2) void XFlatXml::processingInstruction(const OUString& str, const OUString& str2)
throw (SAXException, RuntimeException)
{ {
OSL_ASSERT(m_rDocumentHandler.is()); OSL_ASSERT(m_rDocumentHandler.is());
m_rDocumentHandler->processingInstruction(str, str2); m_rDocumentHandler->processingInstruction(str, str2);
} }
void XFlatXml::setDocumentLocator(const Reference<XLocator>& doclocator) void XFlatXml::setDocumentLocator(const Reference<XLocator>& doclocator)
throw (SAXException, RuntimeException)
{ {
OSL_ASSERT(m_rDocumentHandler.is()); OSL_ASSERT(m_rDocumentHandler.is());
m_rDocumentHandler->setDocumentLocator(doclocator); m_rDocumentHandler->setDocumentLocator(doclocator);

View File

@@ -21,11 +21,11 @@
#include "MyListener.h" #include "MyListener.h"
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
void SAL_CALL CalcListener::notifyEvent( const ::com::sun::star::document::EventObject& aEvent ) throw (com::sun::star::uno::RuntimeException) void SAL_CALL CalcListener::notifyEvent( const ::com::sun::star::document::EventObject& aEvent )
{ {
} }
void SAL_CALL CalcListener::disposing( const com::sun::star::lang::EventObject& aSource ) throw( com::sun::star::uno::RuntimeException ) void SAL_CALL CalcListener::disposing( const com::sun::star::lang::EventObject& aSource )
{ {
} }

View File

@@ -120,7 +120,7 @@ void ListenerHelper::AddDispatch(
xFrame->addEventListener( new ListenerItemEventListener( xFrame ) ); xFrame->addEventListener( new ListenerItemEventListener( xFrame ) );
} }
void SAL_CALL ListenerItemEventListener::disposing( const EventObject& aEvent) throw (RuntimeException) void SAL_CALL ListenerItemEventListener::disposing( const EventObject& aEvent)
{ {
AllListeners::iterator aIter = aListeners.begin(); AllListeners::iterator aIter = aListeners.begin();
while ( aIter != aListeners.end() ) while ( aIter != aListeners.end() )

View File

@@ -77,7 +77,7 @@ public:
ListenerItemEventListener( const com::sun::star::uno::Reference < com::sun::star::frame::XFrame >& xFrame) ListenerItemEventListener( const com::sun::star::uno::Reference < com::sun::star::frame::XFrame >& xFrame)
: mxFrame(xFrame) : mxFrame(xFrame)
{} {}
virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& aEvent ) throw (com::sun::star::uno::RuntimeException); virtual void SAL_CALL disposing( const com::sun::star::lang::EventObject& aEvent );
}; };
#endif #endif

View File

@@ -39,7 +39,6 @@ using com::sun::star::beans::NamedValue;
using com::sun::star::document::XEventBroadcaster; using com::sun::star::document::XEventBroadcaster;
Any SAL_CALL MyJob::execute( const Sequence< NamedValue >& aArguments ) Any SAL_CALL MyJob::execute( const Sequence< NamedValue >& aArguments )
throw ( IllegalArgumentException, Exception, RuntimeException )
{ {
Reference < XEventBroadcaster > xBrd( mxMSF->createInstance( Reference < XEventBroadcaster > xBrd( mxMSF->createInstance(
"com.sun.star.frame.GlobalEventBroadcaster" ), UNO_QUERY ); "com.sun.star.frame.GlobalEventBroadcaster" ), UNO_QUERY );
@@ -51,7 +50,6 @@ Any SAL_CALL MyJob::execute( const Sequence< NamedValue >& aArguments )
} }
OUString MyJob_getImplementationName () OUString MyJob_getImplementationName ()
throw (RuntimeException)
{ {
return OUString( "com.sun.star.comp.Office.MyJob" ); return OUString( "com.sun.star.comp.Office.MyJob" );
} }
@@ -59,7 +57,6 @@ OUString MyJob_getImplementationName ()
#define SERVICE_NAME "com.sun.star.task.Job" #define SERVICE_NAME "com.sun.star.task.Job"
Sequence< OUString > SAL_CALL MyJob_getSupportedServiceNames( ) Sequence< OUString > SAL_CALL MyJob_getSupportedServiceNames( )
throw (RuntimeException)
{ {
Sequence < OUString > aRet(1); Sequence < OUString > aRet(1);
OUString* pArray = aRet.getArray(); OUString* pArray = aRet.getArray();
@@ -70,26 +67,22 @@ Sequence< OUString > SAL_CALL MyJob_getSupportedServiceNames( )
#undef SERVICE_NAME #undef SERVICE_NAME
Reference< XInterface > SAL_CALL MyJob_createInstance( const Reference< XMultiServiceFactory > & rSMgr) Reference< XInterface > SAL_CALL MyJob_createInstance( const Reference< XMultiServiceFactory > & rSMgr)
throw( Exception )
{ {
return (cppu::OWeakObject*) new MyJob( rSMgr ); return (cppu::OWeakObject*) new MyJob( rSMgr );
} }
// XServiceInfo // XServiceInfo
OUString SAL_CALL MyJob::getImplementationName( ) OUString SAL_CALL MyJob::getImplementationName( )
throw (RuntimeException)
{ {
return MyJob_getImplementationName(); return MyJob_getImplementationName();
} }
sal_Bool SAL_CALL MyJob::supportsService( const OUString& rServiceName ) sal_Bool SAL_CALL MyJob::supportsService( const OUString& rServiceName )
throw (RuntimeException)
{ {
return cppu::supportsService(this, rServiceName); return cppu::supportsService(this, rServiceName);
} }
Sequence< OUString > SAL_CALL MyJob::getSupportedServiceNames( ) Sequence< OUString > SAL_CALL MyJob::getSupportedServiceNames( )
throw (RuntimeException)
{ {
return MyJob_getSupportedServiceNames(); return MyJob_getSupportedServiceNames();
} }

View File

@@ -61,30 +61,22 @@ public:
// XJob // XJob
virtual ::com::sun::star::uno::Any SAL_CALL execute( virtual ::com::sun::star::uno::Any SAL_CALL execute(
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& Arguments ) const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::NamedValue >& Arguments );
throw (::com::sun::star::lang::IllegalArgumentException, ::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
// XServiceInfo // XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName( ) virtual ::rtl::OUString SAL_CALL getImplementationName( );
throw (::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName );
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( );
throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( )
throw (::com::sun::star::uno::RuntimeException);
}; };
::rtl::OUString MyJob_getImplementationName() ::rtl::OUString MyJob_getImplementationName();
throw ( ::com::sun::star::uno::RuntimeException );
sal_Bool SAL_CALL MyJob_supportsService( const ::rtl::OUString& ServiceName ) sal_Bool SAL_CALL MyJob_supportsService( const ::rtl::OUString& ServiceName );
throw ( ::com::sun::star::uno::RuntimeException );
::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL MyJob_getSupportedServiceNames( ) ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL MyJob_getSupportedServiceNames( );
throw ( ::com::sun::star::uno::RuntimeException );
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
SAL_CALL MyJob_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rSMgr) SAL_CALL MyJob_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::lang::XMultiServiceFactory > & rSMgr);
throw ( ::com::sun::star::uno::Exception );
#endif #endif

View File

@@ -33,9 +33,6 @@ MyListener::~MyListener()
{} {}
css::uno::Any SAL_CALL MyListener::execute(const css::uno::Sequence< css::beans::NamedValue >& lArguments) css::uno::Any SAL_CALL MyListener::execute(const css::uno::Sequence< css::beans::NamedValue >& lArguments)
throw (css::lang::IllegalArgumentException,
css::uno::Exception,
css::uno::RuntimeException)
{ {
css::uno::Sequence< css::beans::NamedValue > lEnv; css::uno::Sequence< css::beans::NamedValue > lEnv;
@@ -105,13 +102,11 @@ css::uno::Any SAL_CALL MyListener::execute(const css::uno::Sequence< css::beans:
} }
::rtl::OUString SAL_CALL MyListener::getImplementationName() ::rtl::OUString SAL_CALL MyListener::getImplementationName()
throw (css::uno::RuntimeException)
{ {
return ::rtl::OUString( MYLISTENER_IMPLEMENTATIONNAME ); return ::rtl::OUString( MYLISTENER_IMPLEMENTATIONNAME );
} }
css::uno::Sequence< ::rtl::OUString > SAL_CALL MyListener::getSupportedServiceNames() css::uno::Sequence< ::rtl::OUString > SAL_CALL MyListener::getSupportedServiceNames()
throw (css::uno::RuntimeException)
{ {
css::uno::Sequence< ::rtl::OUString > lNames(1); css::uno::Sequence< ::rtl::OUString > lNames(1);
lNames[0] = ::rtl::OUString( MYLISTENER_SERVICENAME ); lNames[0] = ::rtl::OUString( MYLISTENER_SERVICENAME );
@@ -119,7 +114,6 @@ css::uno::Sequence< ::rtl::OUString > SAL_CALL MyListener::getSupportedServiceNa
} }
sal_Bool SAL_CALL MyListener::supportsService(const ::rtl::OUString& sServiceName) sal_Bool SAL_CALL MyListener::supportsService(const ::rtl::OUString& sServiceName)
throw (css::uno::RuntimeException)
{ {
return cppu::supportsService(this, sServiceName); return cppu::supportsService(this, sServiceName);
} }

View File

@@ -52,20 +52,14 @@ class MyListener : public cppu::WeakImplHelper2< css::task::XJob ,
virtual ~MyListener(); virtual ~MyListener();
// XJob // XJob
virtual css::uno::Any SAL_CALL execute(const css::uno::Sequence< css::beans::NamedValue >& lArguments) virtual css::uno::Any SAL_CALL execute(const css::uno::Sequence< css::beans::NamedValue >& lArguments);
throw (css::lang::IllegalArgumentException,
css::uno::Exception,
css::uno::RuntimeException);
// XServiceInfo // XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName() virtual ::rtl::OUString SAL_CALL getImplementationName();
throw (css::uno::RuntimeException);
virtual sal_Bool SAL_CALL supportsService(const ::rtl::OUString& sServiceName) virtual sal_Bool SAL_CALL supportsService(const ::rtl::OUString& sServiceName);
throw (css::uno::RuntimeException);
virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames() virtual css::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames();
throw (css::uno::RuntimeException);
public: public:
@@ -87,10 +81,8 @@ class CalcListener : public cppu::WeakImplHelper1< css::document::XEventListener
{} {}
// document.XEventListener // document.XEventListener
virtual void SAL_CALL notifyEvent(const css::document::EventObject& aEvent) virtual void SAL_CALL notifyEvent(const css::document::EventObject& aEvent);
throw (css::uno::RuntimeException); virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent);
virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent)
throw (css::uno::RuntimeException);
}; };
class WriterListener : public cppu::WeakImplHelper1< css::document::XEventListener > class WriterListener : public cppu::WeakImplHelper1< css::document::XEventListener >
@@ -105,10 +97,8 @@ class WriterListener : public cppu::WeakImplHelper1< css::document::XEventListen
{} {}
// document.XEventListener // document.XEventListener
virtual void SAL_CALL notifyEvent(const css::document::EventObject& aEvent) virtual void SAL_CALL notifyEvent(const css::document::EventObject& aEvent);
throw (css::uno::RuntimeException); virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent);
virtual void SAL_CALL disposing(const css::lang::EventObject& aEvent)
throw (css::uno::RuntimeException);
}; };
#endif #endif

View File

@@ -101,7 +101,7 @@ void BaseDispatch::SendCommandTo( const Reference< XStatusListener >& xControl,
xControl->statusChanged( aEvent ); xControl->statusChanged( aEvent );
} }
void SAL_CALL MyProtocolHandler::initialize( const Sequence< Any >& aArguments ) throw ( Exception, RuntimeException) void SAL_CALL MyProtocolHandler::initialize( const Sequence< Any >& aArguments )
{ {
Reference < XFrame > xFrame; Reference < XFrame > xFrame;
if ( aArguments.getLength() ) if ( aArguments.getLength() )
@@ -114,7 +114,6 @@ void SAL_CALL MyProtocolHandler::initialize( const Sequence< Any >& aArguments )
} }
Reference< XDispatch > SAL_CALL MyProtocolHandler::queryDispatch( const URL& aURL, const ::rtl::OUString& sTargetFrameName, sal_Int32 nSearchFlags ) Reference< XDispatch > SAL_CALL MyProtocolHandler::queryDispatch( const URL& aURL, const ::rtl::OUString& sTargetFrameName, sal_Int32 nSearchFlags )
throw( RuntimeException )
{ {
Reference < XDispatch > xRet; Reference < XDispatch > xRet;
if ( !mxFrame.is() ) if ( !mxFrame.is() )
@@ -151,7 +150,6 @@ Reference< XDispatch > SAL_CALL MyProtocolHandler::queryDispatch( const URL& a
} }
Sequence < Reference< XDispatch > > SAL_CALL MyProtocolHandler::queryDispatches( const Sequence < DispatchDescriptor >& seqDescripts ) Sequence < Reference< XDispatch > > SAL_CALL MyProtocolHandler::queryDispatches( const Sequence < DispatchDescriptor >& seqDescripts )
throw( RuntimeException )
{ {
sal_Int32 nCount = seqDescripts.getLength(); sal_Int32 nCount = seqDescripts.getLength();
Sequence < Reference < XDispatch > > lDispatcher( nCount ); Sequence < Reference < XDispatch > > lDispatcher( nCount );
@@ -163,13 +161,11 @@ Sequence < Reference< XDispatch > > SAL_CALL MyProtocolHandler::queryDispatches(
} }
::rtl::OUString MyProtocolHandler_getImplementationName () ::rtl::OUString MyProtocolHandler_getImplementationName ()
throw (RuntimeException)
{ {
return ::rtl::OUString( MYPROTOCOLHANDLER_IMPLEMENTATIONNAME ); return ::rtl::OUString( MYPROTOCOLHANDLER_IMPLEMENTATIONNAME );
} }
Sequence< ::rtl::OUString > SAL_CALL MyProtocolHandler_getSupportedServiceNames( ) Sequence< ::rtl::OUString > SAL_CALL MyProtocolHandler_getSupportedServiceNames( )
throw (RuntimeException)
{ {
Sequence < ::rtl::OUString > aRet(1); Sequence < ::rtl::OUString > aRet(1);
aRet[0] = ::rtl::OUString( MYPROTOCOLHANDLER_SERVICENAME ); aRet[0] = ::rtl::OUString( MYPROTOCOLHANDLER_SERVICENAME );
@@ -179,31 +175,27 @@ Sequence< ::rtl::OUString > SAL_CALL MyProtocolHandler_getSupportedServiceNames(
#undef SERVICE_NAME #undef SERVICE_NAME
Reference< XInterface > SAL_CALL MyProtocolHandler_createInstance( const Reference< XComponentContext > & rSMgr) Reference< XInterface > SAL_CALL MyProtocolHandler_createInstance( const Reference< XComponentContext > & rSMgr)
throw( Exception )
{ {
return (cppu::OWeakObject*) new MyProtocolHandler( rSMgr ); return (cppu::OWeakObject*) new MyProtocolHandler( rSMgr );
} }
// XServiceInfo // XServiceInfo
::rtl::OUString SAL_CALL MyProtocolHandler::getImplementationName( ) ::rtl::OUString SAL_CALL MyProtocolHandler::getImplementationName( )
throw (RuntimeException)
{ {
return MyProtocolHandler_getImplementationName(); return MyProtocolHandler_getImplementationName();
} }
sal_Bool SAL_CALL MyProtocolHandler::supportsService( const ::rtl::OUString& rServiceName ) sal_Bool SAL_CALL MyProtocolHandler::supportsService( const ::rtl::OUString& rServiceName )
throw (RuntimeException)
{ {
return cppu::supportsService(this, rServiceName); return cppu::supportsService(this, rServiceName);
} }
Sequence< ::rtl::OUString > SAL_CALL MyProtocolHandler::getSupportedServiceNames( ) Sequence< ::rtl::OUString > SAL_CALL MyProtocolHandler::getSupportedServiceNames( )
throw (RuntimeException)
{ {
return MyProtocolHandler_getSupportedServiceNames(); return MyProtocolHandler_getSupportedServiceNames();
} }
void SAL_CALL BaseDispatch::dispatch( const URL& aURL, const Sequence < PropertyValue >& lArgs ) throw (RuntimeException) void SAL_CALL BaseDispatch::dispatch( const URL& aURL, const Sequence < PropertyValue >& lArgs )
{ {
/* It's necessary to hold this object alive, till this method finishes. /* It's necessary to hold this object alive, till this method finishes.
May the outside dispatch cache (implemented by the menu/toolbar!) May the outside dispatch cache (implemented by the menu/toolbar!)
@@ -330,7 +322,7 @@ void SAL_CALL BaseDispatch::dispatch( const URL& aURL, const Sequence < Property
} }
} }
void SAL_CALL BaseDispatch::addStatusListener( const Reference< XStatusListener >& xControl, const URL& aURL ) throw (RuntimeException) void SAL_CALL BaseDispatch::addStatusListener( const Reference< XStatusListener >& xControl, const URL& aURL )
{ {
if ( aURL.Protocol == "vnd.demo.complextoolbarcontrols.demoaddon:" ) if ( aURL.Protocol == "vnd.demo.complextoolbarcontrols.demoaddon:" )
{ {
@@ -449,12 +441,12 @@ void SAL_CALL BaseDispatch::addStatusListener( const Reference< XStatusListener
} }
} }
void SAL_CALL BaseDispatch::removeStatusListener( const Reference< XStatusListener >& xControl, const URL& aURL ) throw (RuntimeException) void SAL_CALL BaseDispatch::removeStatusListener( const Reference< XStatusListener >& xControl, const URL& aURL )
{ {
aListenerHelper.RemoveListener( mxFrame, xControl, aURL.Path ); aListenerHelper.RemoveListener( mxFrame, xControl, aURL.Path );
} }
void SAL_CALL BaseDispatch::controlEvent( const ControlEvent& Event ) throw (RuntimeException) void SAL_CALL BaseDispatch::controlEvent( const ControlEvent& Event )
{ {
if ( Event.aURL.Protocol == "vnd.demo.complextoolbarcontrols.demoaddon:" ) if ( Event.aURL.Protocol == "vnd.demo.complextoolbarcontrols.demoaddon:" )
{ {

View File

@@ -67,38 +67,28 @@ public:
// XDispatchProvider // XDispatchProvider
virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > virtual ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch >
SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL, SAL_CALL queryDispatch( const ::com::sun::star::util::URL& aURL,
const ::rtl::OUString& sTargetFrameName, sal_Int32 nSearchFlags ) const ::rtl::OUString& sTargetFrameName, sal_Int32 nSearchFlags );
throw( ::com::sun::star::uno::RuntimeException );
virtual ::com::sun::star::uno::Sequence < ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > > virtual ::com::sun::star::uno::Sequence < ::com::sun::star::uno::Reference< ::com::sun::star::frame::XDispatch > >
SAL_CALL queryDispatches( SAL_CALL queryDispatches(
const ::com::sun::star::uno::Sequence < ::com::sun::star::frame::DispatchDescriptor >& seqDescriptor ) const ::com::sun::star::uno::Sequence < ::com::sun::star::frame::DispatchDescriptor >& seqDescriptor );
throw( ::com::sun::star::uno::RuntimeException );
// XInitialization // XInitialization
virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments ) virtual void SAL_CALL initialize( const ::com::sun::star::uno::Sequence< ::com::sun::star::uno::Any >& aArguments );
throw (::com::sun::star::uno::Exception, ::com::sun::star::uno::RuntimeException);
// XServiceInfo // XServiceInfo
virtual ::rtl::OUString SAL_CALL getImplementationName( ) virtual ::rtl::OUString SAL_CALL getImplementationName( );
throw (::com::sun::star::uno::RuntimeException); virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName );
virtual sal_Bool SAL_CALL supportsService( const ::rtl::OUString& ServiceName ) virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( );
throw (::com::sun::star::uno::RuntimeException);
virtual ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL getSupportedServiceNames( )
throw (::com::sun::star::uno::RuntimeException);
}; };
::rtl::OUString MyProtocolHandler_getImplementationName() ::rtl::OUString MyProtocolHandler_getImplementationName();
throw ( ::com::sun::star::uno::RuntimeException );
sal_Bool SAL_CALL MyProtocolHandler_supportsService( const ::rtl::OUString& ServiceName ) sal_Bool SAL_CALL MyProtocolHandler_supportsService( const ::rtl::OUString& ServiceName );
throw ( ::com::sun::star::uno::RuntimeException );
::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL MyProtocolHandler_getSupportedServiceNames( ) ::com::sun::star::uno::Sequence< ::rtl::OUString > SAL_CALL MyProtocolHandler_getSupportedServiceNames( );
throw ( ::com::sun::star::uno::RuntimeException );
::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface > ::com::sun::star::uno::Reference< ::com::sun::star::uno::XInterface >
SAL_CALL MyProtocolHandler_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rContext) SAL_CALL MyProtocolHandler_createInstance( const ::com::sun::star::uno::Reference< ::com::sun::star::uno::XComponentContext > & rContext);
throw ( ::com::sun::star::uno::Exception );
class BaseDispatch : public cppu::WeakImplHelper2 class BaseDispatch : public cppu::WeakImplHelper2
< <
@@ -126,16 +116,14 @@ public:
// XDispatch // XDispatch
virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL, virtual void SAL_CALL dispatch( const ::com::sun::star::util::URL& aURL,
const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArgs ) const ::com::sun::star::uno::Sequence< ::com::sun::star::beans::PropertyValue >& lArgs );
throw (::com::sun::star::uno::RuntimeException);
virtual void SAL_CALL addStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl, virtual void SAL_CALL addStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl,
const ::com::sun::star::util::URL& aURL ) throw (::com::sun::star::uno::RuntimeException); const ::com::sun::star::util::URL& aURL );
virtual void SAL_CALL removeStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl, virtual void SAL_CALL removeStatusListener( const ::com::sun::star::uno::Reference< ::com::sun::star::frame::XStatusListener >& xControl,
const ::com::sun::star::util::URL& aURL ) throw (::com::sun::star::uno::RuntimeException); const ::com::sun::star::util::URL& aURL );
// XControlNotificationListener // XControlNotificationListener
virtual void SAL_CALL controlEvent( const ::com::sun::star::frame::ControlEvent& Event ) virtual void SAL_CALL controlEvent( const ::com::sun::star::frame::ControlEvent& Event );
throw (::com::sun::star::uno::RuntimeException);
}; };
class WriterDispatch : public BaseDispatch class WriterDispatch : public BaseDispatch

View File

@@ -23,11 +23,11 @@
#include <com/sun/star/lang/XMultiServiceFactory.hpp> #include <com/sun/star/lang/XMultiServiceFactory.hpp>
void SAL_CALL WriterListener::notifyEvent( const ::com::sun::star::document::EventObject& aEvent ) throw (com::sun::star::uno::RuntimeException) void SAL_CALL WriterListener::notifyEvent( const ::com::sun::star::document::EventObject& aEvent )
{ {
} }
void SAL_CALL WriterListener::disposing( const com::sun::star::lang::EventObject& aSource ) throw( com::sun::star::uno::RuntimeException ) void SAL_CALL WriterListener::disposing( const com::sun::star::lang::EventObject& aSource )
{ {
} }

View File

@@ -86,43 +86,40 @@ public:
{ ++m_nRefCount; } { ++m_nRefCount; }
virtual void SAL_CALL release() throw () virtual void SAL_CALL release() throw ()
{ if (! --m_nRefCount) delete this; } { if (! --m_nRefCount) delete this; }
virtual Any SAL_CALL queryInterface( const Type & rType ) throw (RuntimeException) virtual Any SAL_CALL queryInterface( const Type & rType )
{ return cppu::queryInterface(rType, { return cppu::queryInterface(rType,
static_cast< XInterface* >( static_cast< XServiceInfo* >( this ) ), static_cast< XInterface* >( static_cast< XServiceInfo* >( this ) ),
static_cast< XCountable* >( this ), static_cast< XCountable* >( this ),
static_cast< XServiceInfo* >( this ) ); } static_cast< XServiceInfo* >( this ) ); }
// XServiceInfo implementation // XServiceInfo implementation
virtual OUString SAL_CALL getImplementationName( ) throw(RuntimeException); virtual OUString SAL_CALL getImplementationName( );
virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName ) throw(RuntimeException); virtual sal_Bool SAL_CALL supportsService( const OUString& ServiceName );
virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( ) throw(RuntimeException); virtual Sequence< OUString > SAL_CALL getSupportedServiceNames( );
static Sequence< OUString > SAL_CALL getSupportedServiceNames_Static( ); static Sequence< OUString > SAL_CALL getSupportedServiceNames_Static( );
// XCountable implementation // XCountable implementation
virtual sal_Int32 SAL_CALL getCount() throw (RuntimeException) virtual sal_Int32 SAL_CALL getCount()
{ return m_nCount; } { return m_nCount; }
virtual void SAL_CALL setCount( sal_Int32 nCount ) throw (RuntimeException) virtual void SAL_CALL setCount( sal_Int32 nCount )
{ m_nCount = nCount; } { m_nCount = nCount; }
virtual sal_Int32 SAL_CALL increment() throw (RuntimeException) virtual sal_Int32 SAL_CALL increment()
{ return (++m_nCount); } { return (++m_nCount); }
virtual sal_Int32 SAL_CALL decrement() throw (RuntimeException) virtual sal_Int32 SAL_CALL decrement()
{ return (--m_nCount); } { return (--m_nCount); }
}; };
OUString SAL_CALL MyCounterImpl::getImplementationName( ) OUString SAL_CALL MyCounterImpl::getImplementationName( )
throw(RuntimeException)
{ {
return OUString( IMPLNAME ); return OUString( IMPLNAME );
} }
sal_Bool SAL_CALL MyCounterImpl::supportsService( const OUString& ServiceName ) sal_Bool SAL_CALL MyCounterImpl::supportsService( const OUString& ServiceName )
throw(RuntimeException)
{ {
return cppu::supportsService(this, ServiceName); return cppu::supportsService(this, ServiceName);
} }
Sequence<OUString> SAL_CALL MyCounterImpl::getSupportedServiceNames( ) Sequence<OUString> SAL_CALL MyCounterImpl::getSupportedServiceNames( )
throw(RuntimeException)
{ {
return getSupportedServiceNames_Static(); return getSupportedServiceNames_Static();
} }

View File

@@ -75,8 +75,7 @@ public:
public: // Methods public: // Methods
virtual sal_Int32 SAL_CALL run( const Sequence< OUString >& aArguments ) virtual sal_Int32 SAL_CALL run( const Sequence< OUString >& aArguments );
throw(RuntimeException);
private: // helper methods private: // helper methods
@@ -140,7 +139,7 @@ void PipeClientMain::testPipe( const Reference< XInterface > & rxInterface )
} }
sal_Int32 PipeClientMain::run( const Sequence< OUString > & aArguments ) throw ( RuntimeException ) sal_Int32 PipeClientMain::run( const Sequence< OUString > & aArguments )
{ {
printf( "Connecting...\n" ); printf( "Connecting...\n" );