diff options
Diffstat (limited to 'tools/source')
-rw-r--r-- | tools/source/debug/debug.cxx | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/tools/source/debug/debug.cxx b/tools/source/debug/debug.cxx index fdfd7259d3cf..9b9419599b7d 100644 --- a/tools/source/debug/debug.cxx +++ b/tools/source/debug/debug.cxx @@ -41,6 +41,7 @@ #include <com/sun/star/ucb/ContentCreationException.hpp> #include <com/sun/star/ucb/MissingPropertiesException.hpp> #include <com/sun/star/ucb/NameClashException.hpp> +#include <com/sun/star/ucb/InteractiveIOException.hpp> #include <com/sun/star/util/MalformedNumberFormatException.hpp> #include <com/sun/star/xml/dom/DOMException.hpp> #include <com/sun/star/xml/sax/SAXException.hpp> @@ -384,6 +385,14 @@ OString exceptionToString(const css::uno::Any & caught) sMessage += OString::number( specialized.ColumnNumber ); } } + { + css::ucb::InteractiveIOException specialized; + if ( caught >>= specialized ) + { + sMessage += " Code: "; + sMessage += OString::number( static_cast<sal_Int32>(specialized.Code) ); + } + } return sMessage; } |