diff options
Diffstat (limited to 'xmlscript')
-rw-r--r-- | xmlscript/source/xmlflat_imexp/xmlbas_export.cxx | 8 | ||||
-rw-r--r-- | xmlscript/source/xmlflat_imexp/xmlbas_import.cxx | 14 | ||||
-rw-r--r-- | xmlscript/test/imexp.cxx | 8 |
3 files changed, 15 insertions, 15 deletions
diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx index a0793905a54c..ccb58d310728 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_export.cxx @@ -303,22 +303,22 @@ sal_Bool XMLBasicExporterBase::filter( const Sequence< beans::PropertyValue >& / } catch ( const container::NoSuchElementException& e ) { - SAL_INFO("xmlscript.xmlflat", "XMLBasicExporterBase::filter: caught NoSuchElementException reason " << e.Message ); + SAL_INFO("xmlscript.xmlflat", "XMLBasicExporterBase::filter: caught NoSuchElementException reason " << e ); bReturn = false; } catch ( const lang::IllegalArgumentException& e ) { - SAL_INFO("xmlscript.xmlflat", "XMLBasicExporterBase::filter: caught IllegalArgumentException reason " << e.Message ); + SAL_INFO("xmlscript.xmlflat", "XMLBasicExporterBase::filter: caught IllegalArgumentException reason " << e ); bReturn = false; } catch ( const lang::WrappedTargetException& e ) { - SAL_INFO("xmlscript.xmlflat", "XMLBasicExporterBase::filter: caught WrappedTargetException reason " << e.Message ); + SAL_INFO("xmlscript.xmlflat", "XMLBasicExporterBase::filter: caught WrappedTargetException reason " << e ); bReturn = false; } catch ( const xml::sax::SAXException& e ) { - SAL_INFO("xmlscript.xmlflat", "XMLBasicExporterBase::filter: caught SAXException reason " << e.Message ); + SAL_INFO("xmlscript.xmlflat", "XMLBasicExporterBase::filter: caught SAXException reason " << e ); bReturn = false; } diff --git a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx index 4cf57195c8d1..33692d937f77 100644 --- a/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx +++ b/xmlscript/source/xmlflat_imexp/xmlbas_import.cxx @@ -176,11 +176,11 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const } catch ( const container::ElementExistException& e ) { - SAL_INFO("xmlscript.xmlflat", "BasicLibrariesElement::startChildElement: caught ElementExceptionExist reason " << e.Message ); + SAL_INFO("xmlscript.xmlflat", "BasicLibrariesElement::startChildElement: caught ElementExceptionExist reason " << e ); } catch ( const lang::IllegalArgumentException& e ) { - SAL_INFO("xmlscript.xmlflat", "BasicLibrariesElement::startChildElement: caught IllegalArgumentException reason " << e.Message ); + SAL_INFO("xmlscript.xmlflat", "BasicLibrariesElement::startChildElement: caught IllegalArgumentException reason " << e ); } } } @@ -216,7 +216,7 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const } catch ( const lang::IllegalArgumentException& e ) { - SAL_INFO("xmlscript.xmlflat", "BasicLibrariesElement::startChildElement: caught IllegalArgumentException reason " << e.Message ); + SAL_INFO("xmlscript.xmlflat", "BasicLibrariesElement::startChildElement: caught IllegalArgumentException reason " << e ); } } } @@ -252,7 +252,7 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const } catch ( const lang::WrappedTargetException& e ) { - SAL_INFO("xmlscript.xmlflat", "BasicEmbeddedLibraryElement CTOR: caught WrappedTargetException reason " << e.Message ); + SAL_INFO("xmlscript.xmlflat", "BasicEmbeddedLibraryElement CTOR: caught WrappedTargetException reason " << e ); } } @@ -372,15 +372,15 @@ void BasicElementBase::processingInstruction( const OUString& /*rTarget*/, const } catch ( const container::ElementExistException& e ) { - SAL_INFO("xmlscript.xmlflat", "BasicSourceCodeElement::endElement: caught ElementExceptionExist reason " << e.Message ); + SAL_INFO("xmlscript.xmlflat", "BasicSourceCodeElement::endElement: caught ElementExceptionExist reason " << e ); } catch ( const lang::IllegalArgumentException& e ) { - SAL_INFO("xmlscript.xmlflat", "BasicSourceCodeElement::endElement: caught IllegalArgumentException reason " << e.Message ); + SAL_INFO("xmlscript.xmlflat", "BasicSourceCodeElement::endElement: caught IllegalArgumentException reason " << e ); } catch ( const lang::WrappedTargetException& e ) { - SAL_INFO("xmlscript.xmlflat", "BasicSourceCodeElement::endElement: caught WrappedTargetException reason " << e.Message ); + SAL_INFO("xmlscript.xmlflat", "BasicSourceCodeElement::endElement: caught WrappedTargetException reason " << e ); } } diff --git a/xmlscript/test/imexp.cxx b/xmlscript/test/imexp.cxx index 0159e734bba2..e275179beef1 100644 --- a/xmlscript/test/imexp.cxx +++ b/xmlscript/test/imexp.cxx @@ -72,7 +72,7 @@ Reference< XComponentContext > createInitialComponentContext( catch( const Exception& rExc ) { - SAL_WARN( "xmlscript", rExc.Message ); + SAL_WARN( "xmlscript", rExc ); } return xContext; @@ -185,18 +185,18 @@ void MyApp::Main() } catch (const xml::sax::SAXException & rExc) { - OUString aStr( rExc.Message ); + OUString aStr( rExc ); uno::Exception exc; if (rExc.WrappedException >>= exc) { aStr += " >>> "; - aStr += exc.Message; + aStr += exc; } SAL_WARN( "xmlscript", aStr ); } catch (const uno::Exception & rExc) { - SAL_WARN( "xmlscript", rExc.Message ); + SAL_WARN( "xmlscript", rExc ); } Reference< lang::XComponent > xComp( xContext, UNO_QUERY ); |