summaryrefslogtreecommitdiff
path: root/extensions/source/logging/consolehandler.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/source/logging/consolehandler.cxx')
-rw-r--r--extensions/source/logging/consolehandler.cxx52
1 files changed, 26 insertions, 26 deletions
diff --git a/extensions/source/logging/consolehandler.cxx b/extensions/source/logging/consolehandler.cxx
index ea6af6884ddd..8db97dd1b350 100644
--- a/extensions/source/logging/consolehandler.cxx
+++ b/extensions/source/logging/consolehandler.cxx
@@ -65,23 +65,23 @@ namespace logging
private:
// XConsoleHandler
- virtual ::sal_Int32 SAL_CALL getThreshold() throw (RuntimeException, std::exception) override;
- virtual void SAL_CALL setThreshold( ::sal_Int32 _threshold ) throw (RuntimeException, std::exception) override;
+ virtual ::sal_Int32 SAL_CALL getThreshold() override;
+ virtual void SAL_CALL setThreshold( ::sal_Int32 _threshold ) override;
// XLogHandler
- virtual OUString SAL_CALL getEncoding() throw (RuntimeException, std::exception) override;
- virtual void SAL_CALL setEncoding( const OUString& _encoding ) throw (RuntimeException, std::exception) override;
- virtual Reference< XLogFormatter > SAL_CALL getFormatter() throw (RuntimeException, std::exception) override;
- virtual void SAL_CALL setFormatter( const Reference< XLogFormatter >& _formatter ) throw (RuntimeException, std::exception) override;
- virtual ::sal_Int32 SAL_CALL getLevel() throw (RuntimeException, std::exception) override;
- virtual void SAL_CALL setLevel( ::sal_Int32 _level ) throw (RuntimeException, std::exception) override;
- virtual void SAL_CALL flush( ) throw (RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL publish( const LogRecord& Record ) throw (RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getEncoding() override;
+ virtual void SAL_CALL setEncoding( const OUString& _encoding ) override;
+ virtual Reference< XLogFormatter > SAL_CALL getFormatter() override;
+ virtual void SAL_CALL setFormatter( const Reference< XLogFormatter >& _formatter ) override;
+ virtual ::sal_Int32 SAL_CALL getLevel() override;
+ virtual void SAL_CALL setLevel( ::sal_Int32 _level ) override;
+ virtual void SAL_CALL flush( ) override;
+ virtual sal_Bool SAL_CALL publish( const LogRecord& Record ) override;
// XServiceInfo
- virtual OUString SAL_CALL getImplementationName() throw(RuntimeException, std::exception) override;
- virtual sal_Bool SAL_CALL supportsService( const OUString& _rServiceName ) throw(RuntimeException, std::exception) override;
- virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() throw(RuntimeException, std::exception) override;
+ virtual OUString SAL_CALL getImplementationName() override;
+ virtual sal_Bool SAL_CALL supportsService( const OUString& _rServiceName ) override;
+ virtual Sequence< OUString > SAL_CALL getSupportedServiceNames() override;
// OComponentHelper
virtual void SAL_CALL disposing() override;
@@ -150,21 +150,21 @@ namespace logging
}
- ::sal_Int32 SAL_CALL ConsoleHandler::getThreshold() throw (RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL ConsoleHandler::getThreshold()
{
MethodGuard aGuard( *this );
return m_nThreshold;
}
- void SAL_CALL ConsoleHandler::setThreshold( ::sal_Int32 _threshold ) throw (RuntimeException, std::exception)
+ void SAL_CALL ConsoleHandler::setThreshold( ::sal_Int32 _threshold )
{
MethodGuard aGuard( *this );
m_nThreshold = _threshold;
}
- OUString SAL_CALL ConsoleHandler::getEncoding() throw (RuntimeException, std::exception)
+ OUString SAL_CALL ConsoleHandler::getEncoding()
{
MethodGuard aGuard( *this );
OUString sEncoding;
@@ -173,42 +173,42 @@ namespace logging
}
- void SAL_CALL ConsoleHandler::setEncoding( const OUString& _rEncoding ) throw (RuntimeException, std::exception)
+ void SAL_CALL ConsoleHandler::setEncoding( const OUString& _rEncoding )
{
MethodGuard aGuard( *this );
OSL_VERIFY( m_aHandlerHelper.setEncoding( _rEncoding ) );
}
- Reference< XLogFormatter > SAL_CALL ConsoleHandler::getFormatter() throw (RuntimeException, std::exception)
+ Reference< XLogFormatter > SAL_CALL ConsoleHandler::getFormatter()
{
MethodGuard aGuard( *this );
return m_aHandlerHelper.getFormatter();
}
- void SAL_CALL ConsoleHandler::setFormatter( const Reference< XLogFormatter >& _rxFormatter ) throw (RuntimeException, std::exception)
+ void SAL_CALL ConsoleHandler::setFormatter( const Reference< XLogFormatter >& _rxFormatter )
{
MethodGuard aGuard( *this );
m_aHandlerHelper.setFormatter( _rxFormatter );
}
- ::sal_Int32 SAL_CALL ConsoleHandler::getLevel() throw (RuntimeException, std::exception)
+ ::sal_Int32 SAL_CALL ConsoleHandler::getLevel()
{
MethodGuard aGuard( *this );
return m_aHandlerHelper.getLevel();
}
- void SAL_CALL ConsoleHandler::setLevel( ::sal_Int32 _nLevel ) throw (RuntimeException, std::exception)
+ void SAL_CALL ConsoleHandler::setLevel( ::sal_Int32 _nLevel )
{
MethodGuard aGuard( *this );
m_aHandlerHelper.setLevel( _nLevel );
}
- void SAL_CALL ConsoleHandler::flush( ) throw (RuntimeException, std::exception)
+ void SAL_CALL ConsoleHandler::flush( )
{
MethodGuard aGuard( *this );
fflush( stdout );
@@ -216,7 +216,7 @@ namespace logging
}
- sal_Bool SAL_CALL ConsoleHandler::publish( const LogRecord& _rRecord ) throw (RuntimeException, std::exception)
+ sal_Bool SAL_CALL ConsoleHandler::publish( const LogRecord& _rRecord )
{
MethodGuard aGuard( *this );
@@ -232,17 +232,17 @@ namespace logging
return true;
}
- OUString SAL_CALL ConsoleHandler::getImplementationName() throw(RuntimeException, std::exception)
+ OUString SAL_CALL ConsoleHandler::getImplementationName()
{
return OUString("com.sun.star.comp.extensions.ConsoleHandler");
}
- sal_Bool SAL_CALL ConsoleHandler::supportsService( const OUString& _rServiceName ) throw(RuntimeException, std::exception)
+ sal_Bool SAL_CALL ConsoleHandler::supportsService( const OUString& _rServiceName )
{
return cppu::supportsService(this, _rServiceName);
}
- Sequence< OUString > SAL_CALL ConsoleHandler::getSupportedServiceNames() throw(RuntimeException, std::exception)
+ Sequence< OUString > SAL_CALL ConsoleHandler::getSupportedServiceNames()
{
return { "com.sun.star.logging.ConsoleHandler" };
}