LibreOffice Module connectivity (master) 1
Classes | Namespaces | Enumerations | Functions
dbexception.hxx File Reference
#include <connectivity/standardsqlstate.hxx>
#include <connectivity/dbtoolsdllapi.hxx>
#include <com/sun/star/uno/Reference.hxx>
Include dependency graph for dbexception.hxx:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  dbtools::SQLExceptionInfo
 
class  dbtools::SQLExceptionIteratorHelper
 

Namespaces

namespace  com
 
namespace  com::sun
 
namespace  com::sun::star
 
namespace  com::sun::star::sdb
 
namespace  com::sun::star::sdbc
 
namespace  dbtools
 

Enumerations

enum  dbtools::OOoBaseErrorCode { dbtools::ParameterInteractionCancelled = 1 }
 

Functions

OUString dbtools::getStandardSQLState (StandardSQLState _eState)
 returns a standard error string for a given SQLState 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)
 
OOO_DLLPUBLIC_DBTOOLS void dbtools::throwFunctionSequenceException (const css::uno::Reference< css::uno::XInterface > &Context, const css::uno::Any &Next=css::uno::Any())
 throws a function sequence (HY010) exception More...
 
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::throwGenericSQLException (const OUString &_rMsg, const css::uno::Reference< css::uno::XInterface > &_rxSource)
 throw a generic SQLException, i.e. More...
 
OOO_DLLPUBLIC_DBTOOLS void dbtools::throwGenericSQLException (const OUString &_rMsg, const css::uno::Reference< css::uno::XInterface > &_rxSource, const css::uno::Any &_rNextException)
 throw a generic SQLException, i.e. More...
 
OOO_DLLPUBLIC_DBTOOLS void dbtools::throwFeatureNotImplementedSQLException (const OUString &_rFeatureName, const css::uno::Reference< css::uno::XInterface > &_rxContext, const css::uno::Any &_rNextException=css::uno::Any())
 throw a SQLException with SQLState HYC00 (Optional feature not implemented) More...
 
OOO_DLLPUBLIC_DBTOOLS void dbtools::throwFeatureNotImplementedRuntimeException (const OUString &_rFeatureName, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 throw a RuntimeException (Optional feature not implemented) More...
 
OOO_DLLPUBLIC_DBTOOLS void dbtools::throwInvalidColumnException (const OUString &_rColumnName, const css::uno::Reference< css::uno::XInterface > &_rxContext)
 throw a SQLException with SQLState 42S22 (Column Not Found) More...
 
OOO_DLLPUBLIC_DBTOOLS void dbtools::throwSQLException (const OUString &_rMessage, const OUString &_rSQLState, const css::uno::Reference< css::uno::XInterface > &_rxContext, const sal_Int32 _nErrorCode)
 
OOO_DLLPUBLIC_DBTOOLS void dbtools::throwSQLException (const OUString &_rMessage, StandardSQLState _eSQLState, const css::uno::Reference< css::uno::XInterface > &_rxContext, const sal_Int32 _nErrorCode=0)