LibreOffice Module connectivity (master) 1
Namespaces | Functions
dbexception.cxx File Reference
#include <connectivity/dbexception.hxx>
#include <comphelper/types.hxx>
#include <cppuhelper/exc_hlp.hxx>
#include <o3tl/any.hxx>
#include <osl/diagnose.h>
#include <com/sun/star/sdb/SQLContext.hpp>
#include <com/sun/star/sdbc/SQLWarning.hpp>
#include <com/sun/star/sdb/SQLErrorEvent.hpp>
#include <strings.hrc>
#include <resource/sharedresources.hxx>
#include <comphelper/diagnose_ex.hxx>
Include dependency graph for dbexception.cxx:

Go to the source code of this file.

Namespaces

namespace  dbtools
 

Functions

void dbtools::throwFunctionSequenceException (const Reference< XInterface > &Context, const Any &Next)
 
void dbtools::throwInvalidIndexException (const css::uno::Reference< css::uno::XInterface > &Context, const css::uno::Any &Next=css::uno::Any())
 throw an invalid index sqlexception More...
 
void dbtools::throwFunctionNotSupportedSQLException (const OUString &_rFunctionName, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 throws an exception with SQL state IM001, saying that a certain function is not supported More...
 
void dbtools::throwFunctionNotSupportedRuntimeException (const OUString &_rFunctionName, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 
void dbtools::throwGenericSQLException (const OUString &_rMsg, const css::uno::Reference< css::uno::XInterface > &_rxSource)
 throw a generic SQLException, i.e. More...
 
void dbtools::throwGenericSQLException (const OUString &_rMsg, const Reference< XInterface > &_rxSource, const Any &_rNextException)
 
void dbtools::throwFeatureNotImplementedSQLException (const OUString &_rFeatureName, const Reference< XInterface > &_rxContext, const Any &_rNextException)
 
void dbtools::throwFeatureNotImplementedRuntimeException (const OUString &_rFeatureName, const Reference< XInterface > &_rxContext)
 
void dbtools::throwInvalidColumnException (const OUString &_rColumnName, const Reference< XInterface > &_rxContext)
 
void dbtools::throwSQLException (const OUString &_rMessage, const OUString &_rSQLState, const Reference< XInterface > &_rxContext, const sal_Int32 _nErrorCode)
 
void dbtools::throwSQLException (const OUString &_rMessage, StandardSQLState _eSQLState, const Reference< XInterface > &_rxContext, const sal_Int32 _nErrorCode)
 
OUString dbtools::getStandardSQLState (StandardSQLState _eState)
 returns a standard error string for a given SQLState More...