summaryrefslogtreecommitdiff
path: root/unoxml/source/rdf
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2014-02-25 21:31:58 +0100
committerStephan Bergmann <sbergman@redhat.com>2014-02-26 18:22:20 +0100
commit5e21a413c788f839a66d9e4c14e745ed18058db8 (patch)
treed4451246461346a425ad6f796e08bf1514cdd942 /unoxml/source/rdf
parent6fc2bd0094a23aafadeef3f4a8c2803d621a588d (diff)
cppuhelper: retrofit std::exception into overriding exception specs
Change-Id: I56e32131b7991ee9948ce46765632eb823d463b3
Diffstat (limited to 'unoxml/source/rdf')
-rw-r--r--unoxml/source/rdf/CBlankNode.cxx20
-rw-r--r--unoxml/source/rdf/CLiteral.cxx32
-rw-r--r--unoxml/source/rdf/CURI.cxx28
-rw-r--r--unoxml/source/rdf/librdf_repository.cxx128
4 files changed, 104 insertions, 104 deletions
diff --git a/unoxml/source/rdf/CBlankNode.cxx b/unoxml/source/rdf/CBlankNode.cxx
index 8b469299765c..defd8c5a79d8 100644
--- a/unoxml/source/rdf/CBlankNode.cxx
+++ b/unoxml/source/rdf/CBlankNode.cxx
@@ -42,15 +42,15 @@ public:
virtual ~CBlankNode() {}
// ::com::sun::star::lang::XServiceInfo:
- virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException);
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception);
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception);
// ::com::sun::star::lang::XInitialization:
- virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception);
+ virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception);
// ::com::sun::star::rdf::XNode:
- virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception);
private:
CBlankNode(const CBlankNode &); // not defined
@@ -66,23 +66,23 @@ CBlankNode::CBlankNode(css::uno::Reference< css::uno::XComponentContext > const
{}
// com.sun.star.uno.XServiceInfo:
-OUString SAL_CALL CBlankNode::getImplementationName() throw (css::uno::RuntimeException)
+OUString SAL_CALL CBlankNode::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return comp_CBlankNode::_getImplementationName();
}
-::sal_Bool SAL_CALL CBlankNode::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException)
+::sal_Bool SAL_CALL CBlankNode::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, serviceName);
}
-css::uno::Sequence< OUString > SAL_CALL CBlankNode::getSupportedServiceNames() throw (css::uno::RuntimeException)
+css::uno::Sequence< OUString > SAL_CALL CBlankNode::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{
return comp_CBlankNode::_getSupportedServiceNames();
}
// ::com::sun::star::lang::XInitialization:
-void SAL_CALL CBlankNode::initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception)
+void SAL_CALL CBlankNode::initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception)
{
if (aArguments.getLength() != 1) {
throw css::lang::IllegalArgumentException(
@@ -108,7 +108,7 @@ void SAL_CALL CBlankNode::initialize(const css::uno::Sequence< ::com::sun::star:
}
// ::com::sun::star::rdf::XNode:
-OUString SAL_CALL CBlankNode::getStringValue() throw (css::uno::RuntimeException)
+OUString SAL_CALL CBlankNode::getStringValue() throw (css::uno::RuntimeException, std::exception)
{
return m_NodeID;
}
diff --git a/unoxml/source/rdf/CLiteral.cxx b/unoxml/source/rdf/CLiteral.cxx
index e19d4cfaab42..1768536fff22 100644
--- a/unoxml/source/rdf/CLiteral.cxx
+++ b/unoxml/source/rdf/CLiteral.cxx
@@ -44,20 +44,20 @@ public:
virtual ~CLiteral() {}
// ::com::sun::star::lang::XServiceInfo:
- virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException);
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception);
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception);
// ::com::sun::star::lang::XInitialization:
- virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception);
+ virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception);
// ::com::sun::star::rdf::XNode:
- virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception);
// ::com::sun::star::rdf::XLiteral:
- virtual OUString SAL_CALL getValue() throw (css::uno::RuntimeException);
- virtual OUString SAL_CALL getLanguage() throw (css::uno::RuntimeException);
- virtual css::uno::Reference< css::rdf::XURI > SAL_CALL getDatatype() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getValue() throw (css::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getLanguage() throw (css::uno::RuntimeException, std::exception);
+ virtual css::uno::Reference< css::rdf::XURI > SAL_CALL getDatatype() throw (css::uno::RuntimeException, std::exception);
private:
CLiteral(const CLiteral &); // not defined
@@ -75,23 +75,23 @@ CLiteral::CLiteral(css::uno::Reference< css::uno::XComponentContext > const & co
{}
// com.sun.star.uno.XServiceInfo:
-OUString SAL_CALL CLiteral::getImplementationName() throw (css::uno::RuntimeException)
+OUString SAL_CALL CLiteral::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return comp_CLiteral::_getImplementationName();
}
-::sal_Bool SAL_CALL CLiteral::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException)
+::sal_Bool SAL_CALL CLiteral::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, serviceName);
}
-css::uno::Sequence< OUString > SAL_CALL CLiteral::getSupportedServiceNames() throw (css::uno::RuntimeException)
+css::uno::Sequence< OUString > SAL_CALL CLiteral::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{
return comp_CLiteral::_getSupportedServiceNames();
}
// ::com::sun::star::lang::XInitialization:
-void SAL_CALL CLiteral::initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception)
+void SAL_CALL CLiteral::initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception)
{
const sal_Int32 len( aArguments.getLength() );
if (len < 1 || len > 2) {
@@ -143,7 +143,7 @@ void SAL_CALL CLiteral::initialize(const css::uno::Sequence< ::com::sun::star::u
}
// ::com::sun::star::rdf::XNode:
-OUString SAL_CALL CLiteral::getStringValue() throw (css::uno::RuntimeException)
+OUString SAL_CALL CLiteral::getStringValue() throw (css::uno::RuntimeException, std::exception)
{
if (!m_Language.isEmpty()) {
OUStringBuffer buf(m_Value);
@@ -161,17 +161,17 @@ OUString SAL_CALL CLiteral::getStringValue() throw (css::uno::RuntimeException)
}
// ::com::sun::star::rdf::XLiteral:
-OUString SAL_CALL CLiteral::getValue() throw (css::uno::RuntimeException)
+OUString SAL_CALL CLiteral::getValue() throw (css::uno::RuntimeException, std::exception)
{
return m_Value;
}
-OUString SAL_CALL CLiteral::getLanguage() throw (css::uno::RuntimeException)
+OUString SAL_CALL CLiteral::getLanguage() throw (css::uno::RuntimeException, std::exception)
{
return m_Language;
}
-css::uno::Reference< css::rdf::XURI > SAL_CALL CLiteral::getDatatype() throw (css::uno::RuntimeException)
+css::uno::Reference< css::rdf::XURI > SAL_CALL CLiteral::getDatatype() throw (css::uno::RuntimeException, std::exception)
{
return m_xDatatype;
}
diff --git a/unoxml/source/rdf/CURI.cxx b/unoxml/source/rdf/CURI.cxx
index 474135e77d47..808d8d465df8 100644
--- a/unoxml/source/rdf/CURI.cxx
+++ b/unoxml/source/rdf/CURI.cxx
@@ -43,19 +43,19 @@ public:
virtual ~CURI() {}
// ::com::sun::star::lang::XServiceInfo:
- virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException);
- virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException);
- virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getImplementationName() throw (css::uno::RuntimeException, std::exception);
+ virtual ::sal_Bool SAL_CALL supportsService(const OUString & ServiceName) throw (css::uno::RuntimeException, std::exception);
+ virtual css::uno::Sequence< OUString > SAL_CALL getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception);
// ::com::sun::star::lang::XInitialization:
- virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception);
+ virtual void SAL_CALL initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception);
// ::com::sun::star::rdf::XNode:
- virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getStringValue() throw (css::uno::RuntimeException, std::exception);
// ::com::sun::star::rdf::XURI:
- virtual OUString SAL_CALL getLocalName() throw (css::uno::RuntimeException);
- virtual OUString SAL_CALL getNamespace() throw (css::uno::RuntimeException);
+ virtual OUString SAL_CALL getLocalName() throw (css::uno::RuntimeException, std::exception);
+ virtual OUString SAL_CALL getNamespace() throw (css::uno::RuntimeException, std::exception);
private:
CURI(const CURI &); // not defined
@@ -75,17 +75,17 @@ CURI::CURI(css::uno::Reference< css::uno::XComponentContext > const & context) :
{}
// com.sun.star.uno.XServiceInfo:
-OUString SAL_CALL CURI::getImplementationName() throw (css::uno::RuntimeException)
+OUString SAL_CALL CURI::getImplementationName() throw (css::uno::RuntimeException, std::exception)
{
return comp_CURI::_getImplementationName();
}
-::sal_Bool SAL_CALL CURI::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException)
+::sal_Bool SAL_CALL CURI::supportsService(OUString const & serviceName) throw (css::uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, serviceName);
}
-css::uno::Sequence< OUString > SAL_CALL CURI::getSupportedServiceNames() throw (css::uno::RuntimeException)
+css::uno::Sequence< OUString > SAL_CALL CURI::getSupportedServiceNames() throw (css::uno::RuntimeException, std::exception)
{
return comp_CURI::_getSupportedServiceNames();
}
@@ -712,7 +712,7 @@ void SAL_CALL CURI::initFromConstant(const sal_Int16 i_Constant)
}
// ::com::sun::star::lang::XInitialization:
-void SAL_CALL CURI::initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception)
+void SAL_CALL CURI::initialize(const css::uno::Sequence< ::com::sun::star::uno::Any > & aArguments) throw (css::uno::RuntimeException, css::uno::Exception, std::exception)
{
sal_Int32 len = aArguments.getLength();
if ((len < 1) || (len > 2)) {
@@ -786,18 +786,18 @@ void SAL_CALL CURI::initialize(const css::uno::Sequence< ::com::sun::star::uno::
}
// ::com::sun::star::rdf::XNode:
-OUString SAL_CALL CURI::getStringValue() throw (css::uno::RuntimeException)
+OUString SAL_CALL CURI::getStringValue() throw (css::uno::RuntimeException, std::exception)
{
return m_Namespace + m_LocalName;
}
// ::com::sun::star::rdf::XURI:
-OUString SAL_CALL CURI::getNamespace() throw (css::uno::RuntimeException)
+OUString SAL_CALL CURI::getNamespace() throw (css::uno::RuntimeException, std::exception)
{
return m_Namespace;
}
-OUString SAL_CALL CURI::getLocalName() throw (css::uno::RuntimeException)
+OUString SAL_CALL CURI::getLocalName() throw (css::uno::RuntimeException, std::exception)
{
return m_LocalName;
}
diff --git a/unoxml/source/rdf/librdf_repository.cxx b/unoxml/source/rdf/librdf_repository.cxx
index acaefb58990c..7af8adbcd392 100644
--- a/unoxml/source/rdf/librdf_repository.cxx
+++ b/unoxml/source/rdf/librdf_repository.cxx
@@ -286,15 +286,15 @@ public:
// ::com::sun::star::lang::XServiceInfo:
virtual OUString SAL_CALL getImplementationName()
- throw (uno::RuntimeException);
+ throw (uno::RuntimeException, std::exception);
virtual ::sal_Bool SAL_CALL supportsService(
- const OUString & ServiceName) throw (uno::RuntimeException);
+ const OUString & ServiceName) throw (uno::RuntimeException, std::exception);
virtual uno::Sequence< OUString > SAL_CALL
- getSupportedServiceNames() throw (uno::RuntimeException);
+ getSupportedServiceNames() throw (uno::RuntimeException, std::exception);
// ::com::sun::star::rdf::XRepository:
virtual uno::Reference< rdf::XBlankNode > SAL_CALL createBlankNode()
- throw (uno::RuntimeException);
+ throw (uno::RuntimeException, std::exception);
virtual uno::Reference<rdf::XNamedGraph> SAL_CALL importGraph(
::sal_Int16 i_Format,
const uno::Reference< io::XInputStream > & i_xInStream,
@@ -303,7 +303,7 @@ public:
throw (uno::RuntimeException, lang::IllegalArgumentException,
datatransfer::UnsupportedFlavorException,
container::ElementExistException, rdf::ParseException,
- rdf::RepositoryException, io::IOException);
+ rdf::RepositoryException, io::IOException, std::exception);
virtual void SAL_CALL exportGraph(::sal_Int16 i_Format,
const uno::Reference< io::XOutputStream > & i_xOutStream,
const uno::Reference< rdf::XURI > & i_xGraphName,
@@ -311,38 +311,38 @@ public:
throw (uno::RuntimeException, lang::IllegalArgumentException,
datatransfer::UnsupportedFlavorException,
container::NoSuchElementException, rdf::RepositoryException,
- io::IOException);
+ io::IOException, std::exception);
virtual uno::Sequence< uno::Reference< rdf::XURI > > SAL_CALL
- getGraphNames() throw (uno::RuntimeException, rdf::RepositoryException);
+ getGraphNames() throw (uno::RuntimeException, rdf::RepositoryException, std::exception);
virtual uno::Reference< rdf::XNamedGraph > SAL_CALL getGraph(
const uno::Reference< rdf::XURI > & i_xGraphName)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- rdf::RepositoryException);
+ rdf::RepositoryException, std::exception);
virtual uno::Reference< rdf::XNamedGraph > SAL_CALL createGraph(
const uno::Reference< rdf::XURI > & i_xGraphName)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- container::ElementExistException, rdf::RepositoryException);
+ container::ElementExistException, rdf::RepositoryException, std::exception);
virtual void SAL_CALL destroyGraph(
const uno::Reference< rdf::XURI > & i_xGraphName)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- container::NoSuchElementException, rdf::RepositoryException);
+ container::NoSuchElementException, rdf::RepositoryException, std::exception);
virtual uno::Reference< container::XEnumeration > SAL_CALL getStatements(
const uno::Reference< rdf::XResource > & i_xSubject,
const uno::Reference< rdf::XURI > & i_xPredicate,
const uno::Reference< rdf::XNode > & i_xObject)
throw (uno::RuntimeException,
- rdf::RepositoryException);
+ rdf::RepositoryException, std::exception);
virtual uno::Reference< rdf::XQuerySelectResult > SAL_CALL
querySelect(const OUString & i_rQuery)
throw (uno::RuntimeException, rdf::QueryException,
- rdf::RepositoryException);
+ rdf::RepositoryException, std::exception);
virtual uno::Reference< container::XEnumeration > SAL_CALL
queryConstruct(const OUString & i_rQuery)
throw (uno::RuntimeException, rdf::QueryException,
- rdf::RepositoryException);
+ rdf::RepositoryException, std::exception);
virtual ::sal_Bool SAL_CALL queryAsk(const OUString & i_rQuery)
throw (uno::RuntimeException, rdf::QueryException,
- rdf::RepositoryException);
+ rdf::RepositoryException, std::exception);
// ::com::sun::star::rdf::XDocumentRepository:
virtual void SAL_CALL setStatementRDFa(
@@ -352,27 +352,27 @@ public:
const OUString & i_rRDFaContent,
const uno::Reference< rdf::XURI > & i_xRDFaDatatype)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- rdf::RepositoryException);
+ rdf::RepositoryException, std::exception);
virtual void SAL_CALL removeStatementRDFa(
const uno::Reference< rdf::XMetadatable > & i_xElement)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- rdf::RepositoryException);
+ rdf::RepositoryException, std::exception);
virtual beans::Pair< uno::Sequence<rdf::Statement>, sal_Bool > SAL_CALL
getStatementRDFa(uno::Reference< rdf::XMetadatable > const& i_xElement)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- rdf::RepositoryException);
+ rdf::RepositoryException, std::exception);
virtual uno::Reference< container::XEnumeration > SAL_CALL
getStatementsRDFa(
const uno::Reference< rdf::XResource > & i_xSubject,
const uno::Reference< rdf::XURI > & i_xPredicate,
const uno::Reference< rdf::XNode > & i_xObject)
throw (uno::RuntimeException,
- rdf::RepositoryException);
+ rdf::RepositoryException, std::exception);
// ::com::sun::star::lang::XInitialization:
virtual void SAL_CALL initialize(
const uno::Sequence< ::com::sun::star::uno::Any > & i_rArguments)
- throw (uno::RuntimeException, uno::Exception);
+ throw (uno::RuntimeException, uno::Exception, std::exception);
// XNamedGraph forwards ---------------------------------------------
const NamedGraphMap_t::iterator clearGraph_NoLock(
@@ -485,10 +485,10 @@ public:
// ::com::sun::star::container::XEnumeration:
virtual ::sal_Bool SAL_CALL hasMoreElements()
- throw (uno::RuntimeException);
+ throw (uno::RuntimeException, std::exception);
virtual uno::Any SAL_CALL nextElement()
throw (uno::RuntimeException, container::NoSuchElementException,
- lang::WrappedTargetException);
+ lang::WrappedTargetException, std::exception);
private:
// NB: this is not a weak pointer: streams _must_ be deleted before the
@@ -510,7 +510,7 @@ private:
// ::com::sun::star::container::XEnumeration:
::sal_Bool SAL_CALL
-librdf_GraphResult::hasMoreElements() throw (uno::RuntimeException)
+librdf_GraphResult::hasMoreElements() throw (uno::RuntimeException, std::exception)
{
::osl::MutexGuard g(m_rMutex);
return m_pStream.get() && !librdf_stream_end(m_pStream.get());
@@ -534,7 +534,7 @@ librdf_node* librdf_GraphResult::getContext_Lock() const
::com::sun::star::uno::Any SAL_CALL
librdf_GraphResult::nextElement()
throw (uno::RuntimeException, container::NoSuchElementException,
- lang::WrappedTargetException)
+ lang::WrappedTargetException, std::exception)
{
::osl::MutexGuard g(m_rMutex);
if (!m_pStream.get() || !librdf_stream_end(m_pStream.get())) {
@@ -598,14 +598,14 @@ public:
// ::com::sun::star::container::XEnumeration:
virtual ::sal_Bool SAL_CALL hasMoreElements()
- throw (uno::RuntimeException);
+ throw (uno::RuntimeException, std::exception);
virtual uno::Any SAL_CALL nextElement()
throw (uno::RuntimeException, container::NoSuchElementException,
- lang::WrappedTargetException);
+ lang::WrappedTargetException, std::exception);
// ::com::sun::star::rdf::XQuerySelectResult:
virtual uno::Sequence< OUString > SAL_CALL getBindingNames()
- throw (uno::RuntimeException);
+ throw (uno::RuntimeException, std::exception);
private:
@@ -625,7 +625,7 @@ private:
// ::com::sun::star::container::XEnumeration:
::sal_Bool SAL_CALL
-librdf_QuerySelectResult::hasMoreElements() throw (uno::RuntimeException)
+librdf_QuerySelectResult::hasMoreElements() throw (uno::RuntimeException, std::exception)
{
::osl::MutexGuard g(m_rMutex);
return !librdf_query_results_finished(m_pQueryResult.get());
@@ -648,7 +648,7 @@ public:
::com::sun::star::uno::Any SAL_CALL
librdf_QuerySelectResult::nextElement()
throw (uno::RuntimeException, container::NoSuchElementException,
- lang::WrappedTargetException)
+ lang::WrappedTargetException, std::exception)
{
::osl::MutexGuard g(m_rMutex);
if (!librdf_query_results_finished(m_pQueryResult.get())) {
@@ -684,7 +684,7 @@ throw (uno::RuntimeException, container::NoSuchElementException,
// ::com::sun::star::rdf::XQuerySelectResult:
uno::Sequence< OUString > SAL_CALL
-librdf_QuerySelectResult::getBindingNames() throw (uno::RuntimeException)
+librdf_QuerySelectResult::getBindingNames() throw (uno::RuntimeException, std::exception)
{
// const - no lock needed
return m_BindingNames;
@@ -712,38 +712,38 @@ public:
// ::com::sun::star::rdf::XNode:
virtual OUString SAL_CALL getStringValue()
- throw (uno::RuntimeException);
+ throw (uno::RuntimeException, std::exception);
// ::com::sun::star::rdf::XURI:
virtual OUString SAL_CALL getNamespace()
- throw (uno::RuntimeException);
+ throw (uno::RuntimeException, std::exception);
virtual OUString SAL_CALL getLocalName()
- throw (uno::RuntimeException);
+ throw (uno::RuntimeException, std::exception);
// ::com::sun::star::rdf::XNamedGraph:
virtual uno::Reference<rdf::XURI> SAL_CALL getName()
- throw (uno::RuntimeException);
+ throw (uno::RuntimeException, std::exception);
virtual void SAL_CALL clear()
throw (uno::RuntimeException,
- container::NoSuchElementException, rdf::RepositoryException);
+ container::NoSuchElementException, rdf::RepositoryException, std::exception);
virtual void SAL_CALL addStatement(
const uno::Reference< rdf::XResource > & i_xSubject,
const uno::Reference< rdf::XURI > & i_xPredicate,
const uno::Reference< rdf::XNode > & i_xObject)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- container::NoSuchElementException, rdf::RepositoryException);
+ container::NoSuchElementException, rdf::RepositoryException, std::exception);
virtual void SAL_CALL removeStatements(
const uno::Reference< rdf::XResource > & i_xSubject,
const uno::Reference< rdf::XURI > & i_xPredicate,
const uno::Reference< rdf::XNode > & i_xObject)
throw (uno::RuntimeException,
- container::NoSuchElementException, rdf::RepositoryException);
+ container::NoSuchElementException, rdf::RepositoryException, std::exception);
virtual uno::Reference< container::XEnumeration > SAL_CALL getStatements(
const uno::Reference< rdf::XResource > & i_xSubject,
const uno::Reference< rdf::XURI > & i_xPredicate,
const uno::Reference< rdf::XNode > & i_xObject)
throw (uno::RuntimeException,
- container::NoSuchElementException, rdf::RepositoryException);
+ container::NoSuchElementException, rdf::RepositoryException, std::exception);
private:
@@ -756,34 +756,34 @@ private:
// ::com::sun::star::rdf::XNode:
OUString SAL_CALL librdf_NamedGraph::getStringValue()
-throw (uno::RuntimeException)
+throw (uno::RuntimeException, std::exception)
{
return m_xName->getStringValue();
}
// ::com::sun::star::rdf::XURI:
OUString SAL_CALL librdf_NamedGraph::getNamespace()
-throw (uno::RuntimeException)
+throw (uno::RuntimeException, std::exception)
{
return m_xName->getNamespace();
}
OUString SAL_CALL librdf_NamedGraph::getLocalName()
-throw (uno::RuntimeException)
+throw (uno::RuntimeException, std::exception)
{
return m_xName->getLocalName();
}
// ::com::sun::star::rdf::XNamedGraph:
uno::Reference< rdf::XURI > SAL_CALL librdf_NamedGraph::getName()
-throw (uno::RuntimeException)
+throw (uno::RuntimeException, std::exception)
{
return m_xName;
}
void SAL_CALL librdf_NamedGraph::clear()
throw (uno::RuntimeException,
- container::NoSuchElementException, rdf::RepositoryException)
+ container::NoSuchElementException, rdf::RepositoryException, std::exception)
{
uno::Reference< rdf::XRepository > xRep( m_wRep );
if (!xRep.is()) {
@@ -803,7 +803,7 @@ void SAL_CALL librdf_NamedGraph::addStatement(
const uno::Reference< rdf::XURI > & i_xPredicate,
const uno::Reference< rdf::XNode > & i_xObject)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- container::NoSuchElementException, rdf::RepositoryException)
+ container::NoSuchElementException, rdf::RepositoryException, std::exception)
{
uno::Reference< rdf::XRepository > xRep( m_wRep );
if (!xRep.is()) {
@@ -819,7 +819,7 @@ void SAL_CALL librdf_NamedGraph::removeStatements(
const uno::Reference< rdf::XURI > & i_xPredicate,
const uno::Reference< rdf::XNode > & i_xObject)
throw (uno::RuntimeException,
- container::NoSuchElementException, rdf::RepositoryException)
+ container::NoSuchElementException, rdf::RepositoryException, std::exception)
{
uno::Reference< rdf::XRepository > xRep( m_wRep );
if (!xRep.is()) {
@@ -836,7 +836,7 @@ librdf_NamedGraph::getStatements(
const uno::Reference< rdf::XURI > & i_xPredicate,
const uno::Reference< rdf::XNode > & i_xObject)
throw (uno::RuntimeException,
- container::NoSuchElementException, rdf::RepositoryException)
+ container::NoSuchElementException, rdf::RepositoryException, std::exception)
{
uno::Reference< rdf::XRepository > xRep( m_wRep );
if (!xRep.is()) {
@@ -892,26 +892,26 @@ librdf_Repository::~librdf_Repository()
// com.sun.star.uno.XServiceInfo:
OUString SAL_CALL librdf_Repository::getImplementationName()
-throw (uno::RuntimeException)
+throw (uno::RuntimeException, std::exception)
{
return comp_librdf_Repository::_getImplementationName();
}
::sal_Bool SAL_CALL librdf_Repository::supportsService(
- OUString const & serviceName) throw (uno::RuntimeException)
+ OUString const & serviceName) throw (uno::RuntimeException, std::exception)
{
return cppu::supportsService(this, serviceName);
}
uno::Sequence< OUString > SAL_CALL
-librdf_Repository::getSupportedServiceNames() throw (uno::RuntimeException)
+librdf_Repository::getSupportedServiceNames() throw (uno::RuntimeException, std::exception)
{
return comp_librdf_Repository::_getSupportedServiceNames();
}
// ::com::sun::star::rdf::XRepository:
uno::Reference< rdf::XBlankNode > SAL_CALL librdf_Repository::createBlankNode()
-throw (uno::RuntimeException)
+throw (uno::RuntimeException, std::exception)
{
::osl::MutexGuard g(m_aMutex);
const boost::shared_ptr<librdf_node> pNode(
@@ -954,7 +954,7 @@ librdf_Repository::importGraph(::sal_Int16 i_Format,
throw (uno::RuntimeException, lang::IllegalArgumentException,
datatransfer::UnsupportedFlavorException,
container::ElementExistException, rdf::ParseException,
- rdf::RepositoryException, io::IOException)
+ rdf::RepositoryException, io::IOException, std::exception)
{
if (!i_xInStream.is()) {
throw lang::IllegalArgumentException(
@@ -1109,7 +1109,7 @@ librdf_Repository::exportGraph(::sal_Int16 i_Format,
throw (uno::RuntimeException, lang::IllegalArgumentException,
datatransfer::UnsupportedFlavorException,
container::NoSuchElementException, rdf::RepositoryException,
- io::IOException)
+ io::IOException, std::exception)
{
if (!i_xOutStream.is()) {
throw lang::IllegalArgumentException(
@@ -1249,7 +1249,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException,
uno::Sequence< uno::Reference< rdf::XURI > > SAL_CALL
librdf_Repository::getGraphNames()
-throw (uno::RuntimeException, rdf::RepositoryException)
+throw (uno::RuntimeException, rdf::RepositoryException, std::exception)
{
::osl::MutexGuard g(m_aMutex);
::comphelper::SequenceAsVector< uno::Reference<rdf::XURI> > ret;
@@ -1263,7 +1263,7 @@ throw (uno::RuntimeException, rdf::RepositoryException)
uno::Reference< rdf::XNamedGraph > SAL_CALL
librdf_Repository::getGraph(const uno::Reference< rdf::XURI > & i_xGraphName)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- rdf::RepositoryException)
+ rdf::RepositoryException, std::exception)
{
if (!i_xGraphName.is()) {
throw lang::IllegalArgumentException(
@@ -1283,7 +1283,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException,
uno::Reference< rdf::XNamedGraph > SAL_CALL
librdf_Repository::createGraph(const uno::Reference< rdf::XURI > & i_xGraphName)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- container::ElementExistException, rdf::RepositoryException)
+ container::ElementExistException, rdf::RepositoryException, std::exception)
{
if (!i_xGraphName.is()) {
throw lang::IllegalArgumentException(
@@ -1317,7 +1317,7 @@ void SAL_CALL
librdf_Repository::destroyGraph(
const uno::Reference< rdf::XURI > & i_xGraphName)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- container::NoSuchElementException, rdf::RepositoryException)
+ container::NoSuchElementException, rdf::RepositoryException, std::exception)
{
if (!i_xGraphName.is()) {
throw lang::IllegalArgumentException(
@@ -1343,7 +1343,7 @@ librdf_Repository::getStatements(
const uno::Reference< rdf::XResource > & i_xSubject,
const uno::Reference< rdf::XURI > & i_xPredicate,
const uno::Reference< rdf::XNode > & i_xObject)
-throw (uno::RuntimeException, rdf::RepositoryException)
+throw (uno::RuntimeException, rdf::RepositoryException, std::exception)
{
if (isMetadatableWithoutMetadata(i_xSubject) ||
isMetadatableWithoutMetadata(i_xPredicate) ||
@@ -1381,7 +1381,7 @@ throw (uno::RuntimeException, rdf::RepositoryException)
uno::Reference< rdf::XQuerySelectResult > SAL_CALL
librdf_Repository::querySelect(const OUString & i_rQuery)
-throw (uno::RuntimeException, rdf::QueryException, rdf::RepositoryException)
+throw (uno::RuntimeException, rdf::QueryException, rdf::RepositoryException, std::exception)
{
::osl::MutexGuard g(m_aMutex);
const OString query(
@@ -1430,7 +1430,7 @@ throw (uno::RuntimeException, rdf::QueryException, rdf::RepositoryException)
uno::Reference< container::XEnumeration > SAL_CALL
librdf_Repository::queryConstruct(const OUString & i_rQuery)
-throw (uno::RuntimeException, rdf::QueryException, rdf::RepositoryException)
+throw (uno::RuntimeException, rdf::QueryException, rdf::RepositoryException, std::exception)
{
::osl::MutexGuard g(m_aMutex);
const OString query(
@@ -1467,7 +1467,7 @@ throw (uno::RuntimeException, rdf::QueryException, rdf::RepositoryException)
::sal_Bool SAL_CALL
librdf_Repository::queryAsk(const OUString & i_rQuery)
-throw (uno::RuntimeException, rdf::QueryException, rdf::RepositoryException)
+throw (uno::RuntimeException, rdf::QueryException, rdf::RepositoryException, std::exception)
{
::osl::MutexGuard g(m_aMutex);
@@ -1502,7 +1502,7 @@ void SAL_CALL librdf_Repository::setStatementRDFa(
const OUString & i_rRDFaContent,
const uno::Reference< rdf::XURI > & i_xRDFaDatatype)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- rdf::RepositoryException)
+ rdf::RepositoryException, std::exception)
{
static const OUString s_cell("com.sun.star.table.Cell");
static const OUString s_cellprops("com.sun.star.text.CellProperties"); // for writer
@@ -1615,7 +1615,7 @@ throw (uno::RuntimeException, lang::IllegalArgumentException,
void SAL_CALL librdf_Repository::removeStatementRDFa(
const uno::Reference< rdf::XMetadatable > & i_xElement)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- rdf::RepositoryException)
+ rdf::RepositoryException, std::exception)
{
if (!i_xElement.is()) {
throw lang::IllegalArgumentException(
@@ -1638,7 +1638,7 @@ beans::Pair< uno::Sequence<rdf::Statement>, sal_Bool > SAL_CALL
librdf_Repository::getStatementRDFa(
const uno::Reference< rdf::XMetadatable > & i_xElement)
throw (uno::RuntimeException, lang::IllegalArgumentException,
- rdf::RepositoryException)
+ rdf::RepositoryException, std::exception)
{
if (!i_xElement.is()) {
throw lang::IllegalArgumentException(
@@ -1705,7 +1705,7 @@ librdf_Repository::getStatementsRDFa(
const uno::Reference< rdf::XResource > & i_xSubject,
const uno::Reference< rdf::XURI > & i_xPredicate,
const uno::Reference< rdf::XNode > & i_xObject)
-throw (uno::RuntimeException, rdf::RepositoryException)
+throw (uno::RuntimeException, rdf::RepositoryException, std::exception)
{
if (isMetadatableWithoutMetadata(i_xSubject) ||
isMetadatableWithoutMetadata(i_xPredicate) ||
@@ -1750,7 +1750,7 @@ throw (uno::RuntimeException, rdf::RepositoryException)
// ::com::sun::star::lang::XInitialization:
void SAL_CALL librdf_Repository::initialize(
const uno::Sequence< ::com::sun::star::uno::Any > & i_rArguments)
-throw (uno::RuntimeException, uno::Exception)
+throw (uno::RuntimeException, uno::Exception, std::exception)
{
(void) i_rArguments;