Class Poco::Data::ODBC::ODBCException
Author: Applied Informatics Software Engineering GmbH and Contributors

# Poco::Data::ODBC

# class ODBCException

Library: Data/ODBC
Package: ODBC
Header: Poco/Data/ODBC/ODBCException.h

## Inheritance

Direct Base Classes: Poco::Data::DataException

All Base Classes: Poco::Data::DataException, Poco::Exception, Poco::IOException, Poco::RuntimeException, std::exception

Known Derived Classes: InsufficientStorageException, DataTruncatedException, UnknownDataLengthException, HandleException

## Member Summary

Member Functions: className, clone, name, operator =, rethrow

Inherited Functions: className, clone, code, displayText, extendedMessage, message, name, nested, operator =, rethrow, what

## Constructors

### ODBCException

ODBCException(
int code = 0
);

### ODBCException

ODBCException(
const ODBCException & exc
);

### ODBCException

ODBCException(
const std::string & msg,
int code = 0
);

### ODBCException

ODBCException(
const std::string & msg,
const std::string & arg,
int code = 0
);

### ODBCException

ODBCException(
const std::string & msg,
const Poco::Exception & exc,
int code = 0
);

## Destructor

### ~ODBCException

~ODBCException();

## Member Functions

### className

const char * className() const;

See also: Poco::Data::DataException::className()

### clone

Poco::Exception * clone() const;

### name

const char * name() const;

See also: Poco::Data::DataException::name()

### operator =

ODBCException & operator = (
const ODBCException & exc
);

### rethrow

void rethrow() const;

See also: Poco::Data::DataException::rethrow()