LibreOffice Module comphelper (master) 1
Functions
diagnose_ex.cxx File Reference
#include <com/sun/star/configuration/CorruptedConfigurationException.hpp>
#include <com/sun/star/configuration/backend/BackendSetupException.hpp>
#include <com/sun/star/configuration/backend/MalformedDataException.hpp>
#include <com/sun/star/configuration/InvalidBootstrapFileException.hpp>
#include <com/sun/star/configuration/MissingBootstrapFileException.hpp>
#include <com/sun/star/deployment/DependencyException.hpp>
#include <com/sun/star/deployment/DeploymentException.hpp>
#include <com/sun/star/document/CorruptedFilterConfigurationException.hpp>
#include <com/sun/star/document/UndoFailedException.hpp>
#include <com/sun/star/lang/IllegalArgumentException.hpp>
#include <com/sun/star/lang/WrappedTargetException.hpp>
#include <com/sun/star/lang/WrappedTargetRuntimeException.hpp>
#include <com/sun/star/ldap/LdapGenericException.hpp>
#include <com/sun/star/script/BasicErrorException.hpp>
#include <com/sun/star/script/CannotConvertException.hpp>
#include <com/sun/star/script/provider/ScriptExceptionRaisedException.hpp>
#include <com/sun/star/script/provider/ScriptFrameworkErrorException.hpp>
#include <com/sun/star/sdbc/SQLException.hpp>
#include <com/sun/star/system/SystemShellExecuteException.hpp>
#include <com/sun/star/task/ErrorCodeIOException.hpp>
#include <com/sun/star/ucb/CommandFailedException.hpp>
#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>
#include <com/sun/star/xml/sax/SAXParseException.hpp>
#include <comphelper/anytostring.hxx>
#include <sal/log.hxx>
#include <osl/thread.h>
#include <rtl/strbuf.hxx>
#include <comphelper/diagnose_ex.hxx>
Include dependency graph for diagnose_ex.cxx:

Go to the source code of this file.

Functions

static void exceptionToStringImpl (OStringBuffer &sMessage, const css::uno::Any &caught)
 
OString exceptionToString (const css::uno::Any &caught)
 Convert a caught exception to a string suitable for logging. More...
 
void DbgUnhandledException (const css::uno::Any &caught, const char *currentFunction, const char *fileAndLineNo, const char *area, const char *explanatory)
 

Function Documentation

◆ DbgUnhandledException()

void DbgUnhandledException ( const css::uno::Any caught,
const char *  currentFunction,
const char *  fileAndLineNo,
const char *  area,
const char *  explanatory 
)

Definition at line 369 of file diagnose_ex.cxx.

References exceptionToStringImpl(), and sMessage.

◆ exceptionToString()

OString exceptionToString ( const css::uno::Any caught)

Convert a caught exception to a string suitable for logging.

Definition at line 362 of file diagnose_ex.cxx.

References exceptionToStringImpl(), and sMessage.

Referenced by exceptionToStringImpl().

◆ exceptionToStringImpl()

static void exceptionToStringImpl ( OStringBuffer &  sMessage,
const css::uno::Any caught 
)
static