mirror of
https://github.com/pocoproject/poco.git
synced 2025-02-20 22:31:23 +01:00
made diagnostics() const
This commit is contained in:
parent
60f6d0eeea
commit
5d16c86427
@ -61,8 +61,8 @@ POCO_DECLARE_EXCEPTION(ODBC_API, DataTruncatedException, ODBCException)
|
||||
|
||||
template <class H, SQLSMALLINT handleType>
|
||||
class HandleException: public ODBCException
|
||||
{
|
||||
public:
|
||||
{
|
||||
public:
|
||||
HandleException(const H& handle): _error(handle)
|
||||
/// Creates HandleException
|
||||
{
|
||||
@ -134,7 +134,7 @@ public:
|
||||
throw *this;
|
||||
}
|
||||
|
||||
const Diagnostics<H, handleType>& diagnostics()
|
||||
const Diagnostics<H, handleType>& diagnostics() const
|
||||
/// Returns error diagnostics.
|
||||
{
|
||||
return _error.diagnostics();
|
||||
|
Loading…
x
Reference in New Issue
Block a user