Library: ODBC
Package: ODBC
Header: Poco/Data/ODBC/ODBCException.h
Direct Base Classes: ODBCException
All Base Classes: Poco::Data::DataException, ODBCException, Poco::Exception, Poco::IOException, Poco::RuntimeException, std::exception
Member Functions: className, clone, diagnostics, errorString, name, operator =, rethrow, toString
Inherited Functions: className, clone, code, displayText, extendedMessage, message, name, nested, operator =, rethrow, what
HandleException(
const H & handle
);
Creates HandleException
HandleException(
const HandleException & exc
);
Creates HandleException
HandleException(
const H & handle,
const std::string & msg
);
Creates HandleException
HandleException(
const H & handle,
const std::string & msg,
const std::string & arg
);
Creates HandleException
HandleException(
const H & handle,
const std::string & msg,
const Poco::Exception & exc
);
Creates HandleException
~HandleException();
Destroys HandleException
const char * className() const;
Returns the HandleException class name.
Poco::Exception * clone() const;
Clones the HandleException
const Diagnostics < H, handleType > & diagnostics() const;
Returns error diagnostics.
static std::string errorString(
const H & handle
);
Returns the error diagnostics string for the handle.
const char * name() const;
Returns the name of the exception
See also: Poco::Data::ODBC::ODBCException::name()
HandleException & operator = (
const HandleException & exc
);
Assignment operator
void rethrow() const;
Re-throws the HandleException.
std::string toString() const;
Returns the formatted error diagnostics for the handle.