summaryrefslogtreecommitdiff
path: root/extensions/source/logging/filehandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/logging/filehandler.cxx')
-rw-r--r--extensions/source/logging/filehandler.cxx48
1 files changed, 24 insertions, 24 deletions
diff --git a/extensions/source/logging/filehandler.cxx b/extensions/source/logging/filehandler.cxx
index 61a2353f3e80..928fb71d8d7e 100644
--- a/extensions/source/logging/filehandler.cxx
+++ b/extensions/source/logging/filehandler.cxx
@@ -100,22 +100,22 @@ namespace logging
virtual ~FileHandler();
// XLogHandler
- virtual OUString SAL_CALL getEncoding() throw (RuntimeException);
- virtual void SAL_CALL setEncoding( const OUString& _encoding ) throw (RuntimeException);
- virtual Reference< XLogFormatter > SAL_CALL getFormatter() throw (RuntimeException);
- virtual void SAL_CALL setFormatter( const Reference< XLogFormatter >& _formatter ) throw (RuntimeException);
- virtual ::sal_Int32 SAL_CALL getLevel() throw (RuntimeException);
- virtual void SAL_CALL setLevel( ::sal_Int32 _level ) throw (RuntimeException);
- virtual void SAL_CALL flush( ) throw (RuntimeException);
- virtual ::sal_Bool SAL_CALL publish( const LogRecord& Record ) throw (RuntimeException);
+ virtual OUString SAL_CALL getEncoding() throw (RuntimeException, std::exception);
+ virtual void SAL_CALL setEncoding( const OUString& _encoding ) throw (RuntimeException, std::exception);
+ virtual Reference< XLogFormatter > SAL_CALL getFormatter() throw (RuntimeException, std::exception);
+ virtual void SAL_CALL setFormatter( const Reference< XLogFormatter >& _formatter ) throw (RuntimeException, std::exception);
+ virtual ::sal_Int32 SAL_CALL getLevel() throw (RuntimeException, std::exception);
+ virtual void SAL_CALL setLevel( ::sal_Int32 _level ) throw (RuntimeException, std::exception);
+ virtual void SAL_CALL flush( ) throw (RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL publish( const LogRecord& Record ) throw (RuntimeException, std::exception);
// XInitialization
- 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);
+ 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, std::exception);
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(RuntimeException);
- virtual ::sal_Bool SAL_CALL supportsService( const OUString& _rServiceName ) throw(RuntimeException);
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException);
+ virtual OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL supportsService( const OUString& _rServiceName ) throw(RuntimeException, std::exception);
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception);
// OComponentHelper
virtual void SAL_CALL disposing();
@@ -264,7 +264,7 @@ namespace logging
}
- OUString SAL_CALL FileHandler::getEncoding() throw (RuntimeException)
+ OUString SAL_CALL FileHandler::getEncoding() throw (RuntimeException, std::exception)
{
MethodGuard aGuard( *this );
OUString sEncoding;
@@ -273,42 +273,42 @@ namespace logging
}
- void SAL_CALL FileHandler::setEncoding( const OUString& _rEncoding ) throw (RuntimeException)
+ void SAL_CALL FileHandler::setEncoding( const OUString& _rEncoding ) throw (RuntimeException, std::exception)
{
MethodGuard aGuard( *this );
OSL_VERIFY( m_aHandlerHelper.setEncoding( _rEncoding ) );
}
- Reference< XLogFormatter > SAL_CALL FileHandler::getFormatter() throw (RuntimeException)
+ Reference< XLogFormatter > SAL_CALL FileHandler::getFormatter() throw (RuntimeException, std::exception)
{
MethodGuard aGuard( *this );
return m_aHandlerHelper.getFormatter();
}
- void SAL_CALL FileHandler::setFormatter( const Reference< XLogFormatter >& _rxFormatter ) throw (RuntimeException)
+ void SAL_CALL FileHandler::setFormatter( const Reference< XLogFormatter >& _rxFormatter ) throw (RuntimeException, std::exception)
{
MethodGuard aGuard( *this );
m_aHandlerHelper.setFormatter( _rxFormatter );
}
- ::sal_Int32 SAL_CALL FileHandler::getLevel() throw (RuntimeException)
+ ::sal_Int32 SAL_CALL FileHandler::getLevel() throw (RuntimeException, std::exception)
{
MethodGuard aGuard( *this );
return m_aHandlerHelper.getLevel();
}
- void SAL_CALL FileHandler::setLevel( ::sal_Int32 _nLevel ) throw (RuntimeException)
+ void SAL_CALL FileHandler::setLevel( ::sal_Int32 _nLevel ) throw (RuntimeException, std::exception)
{
MethodGuard aGuard( *this );
m_aHandlerHelper.setLevel( _nLevel );
}
- void SAL_CALL FileHandler::flush( ) throw (RuntimeException)
+ void SAL_CALL FileHandler::flush( ) throw (RuntimeException, std::exception)
{
MethodGuard aGuard( *this );
if(!m_pFile.get())
@@ -324,7 +324,7 @@ namespace logging
}
- ::sal_Bool SAL_CALL FileHandler::publish( const LogRecord& _rRecord ) throw (RuntimeException)
+ ::sal_Bool SAL_CALL FileHandler::publish( const LogRecord& _rRecord ) throw (RuntimeException, std::exception)
{
MethodGuard aGuard( *this );
@@ -340,7 +340,7 @@ namespace logging
}
- void SAL_CALL FileHandler::initialize( const Sequence< Any >& _rArguments ) throw (Exception, RuntimeException)
+ void SAL_CALL FileHandler::initialize( const Sequence< Any >& _rArguments ) throw (Exception, RuntimeException, std::exception)
{
::osl::MutexGuard aGuard( m_aMutex );
@@ -372,18 +372,18 @@ namespace logging
}
- OUString SAL_CALL FileHandler::getImplementationName() throw(RuntimeException)
+ OUString SAL_CALL FileHandler::getImplementationName() throw(RuntimeException, std::exception)
{
return getImplementationName_static();
}
- ::sal_Bool SAL_CALL FileHandler::supportsService( const OUString& _rServiceName ) throw(RuntimeException)
+ ::sal_Bool SAL_CALL FileHandler::supportsService( const OUString& _rServiceName ) throw(RuntimeException, std::exception)
{
return cppu::supportsService(this, _rServiceName);
}
- Sequence< OUString > SAL_CALL FileHandler::getSupportedServiceNames() throw(RuntimeException)
+ Sequence< OUString > SAL_CALL FileHandler::getSupportedServiceNames() throw(RuntimeException, std::exception)
{
return getSupportedServiceNames_static();
}