20#ifndef INCLUDED_CONNECTIVITY_SQLERROR_HXX
21#define INCLUDED_CONNECTIVITY_SQLERROR_HXX
23#include <com/sun/star/sdbc/SQLException.hpp>
82 OUString getErrorMessage(
104 static const OUString&
140 const css::uno::Reference< css::uno::XInterface >& _rxContext,
141 const std::optional<OUString>& _rParamValue1 = std::nullopt,
142 const std::optional<OUString>& _rParamValue2 = std::nullopt,
143 const std::optional<OUString>& _rParamValue3 = std::nullopt
186 void raiseTypedException(
188 const css::uno::Reference< css::uno::XInterface >& _rxContext,
189 const css::uno::Type& _rExceptionType
220 css::sdbc::SQLException
223 const css::uno::Reference< css::uno::XInterface >& _rxContext,
224 const std::optional<OUString>& _rParamValue1 = std::nullopt,
225 const std::optional<OUString>& _rParamValue2 = std::nullopt,
226 const std::optional<OUString>& _rParamValue3 = std::nullopt
a class which provides helpers for working with SQLErrors
std::shared_ptr< SQLError_Impl > m_pImpl
void raiseException(const ErrorCondition _eCondition, const css::uno::Reference< css::uno::XInterface > &_rxContext, const std::optional< OUString > &_rParamValue1=std::nullopt, const std::optional< OUString > &_rParamValue2=std::nullopt, const std::optional< OUString > &_rParamValue3=std::nullopt) const
throws an SQLException describing the given error condition
void raiseException(uno_Any *any, uno_Mapping *mapping)
::sal_Int32 ErrorCondition
error condition values as defined in css::sdb::ErrorCondition
::sal_Int32 ErrorCode
the type of error codes to be used in SQLExceptions