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

# Poco::Data

# class DataException

Library: Data
Package: DataCore
Header: Poco/Data/DataException.h

## Inheritance

Direct Base Classes: Poco::IOException

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

Known Derived Classes: Poco::Data::MySQL::MySQLException, Poco::Data::MySQL::ConnectionException, Poco::Data::MySQL::TransactionException, Poco::Data::MySQL::StatementException, Poco::Data::ODBC::InsufficientStorageException, Poco::Data::ODBC::ODBCException, Poco::Data::ODBC::UnknownDataLengthException, Poco::Data::ODBC::DataTruncatedException, Poco::Data::ODBC::HandleException, Poco::Data::SQLite::SQLiteException, Poco::Data::SQLite::InvalidSQLStatementException, Poco::Data::SQLite::InternalDBErrorException, Poco::Data::SQLite::DBAccessDeniedException, Poco::Data::SQLite::ExecutionAbortedException, Poco::Data::SQLite::DBLockedException, Poco::Data::SQLite::TableLockedException, Poco::Data::SQLite::NoMemoryException, Poco::Data::SQLite::ReadOnlyException, Poco::Data::SQLite::InterruptException, Poco::Data::SQLite::IOErrorException, Poco::Data::SQLite::CorruptImageException, Poco::Data::SQLite::TableNotFoundException, Poco::Data::SQLite::DatabaseFullException, Poco::Data::SQLite::CantOpenDBFileException, Poco::Data::SQLite::LockProtocolException, Poco::Data::SQLite::SchemaDiffersException, Poco::Data::SQLite::RowTooBigException, Poco::Data::SQLite::ConstraintViolationException, Poco::Data::SQLite::DataTypeMismatchException, Poco::Data::SQLite::ParameterCountMismatchException, Poco::Data::SQLite::InvalidLibraryUseException, Poco::Data::SQLite::OSFeaturesMissingException, Poco::Data::SQLite::AuthorizationDeniedException, Poco::Data::SQLite::TransactionException, RowDataMissingException, UnknownDataBaseException, UnknownTypeException, ExecutionException, BindingException, ExtractException, LimitException, NotSupportedException, SessionUnavailableException, SessionPoolExhaustedException, SessionPoolExistsException, NoDataException, LengthExceededException, ConnectionFailedException, NotConnectedException

## Member Summary

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

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

## Constructors

### DataException

DataException(
int code = 0
);

### DataException

DataException(
const DataException & exc
);

### DataException

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

### DataException

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

### DataException

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

## Destructor

### ~DataException

~DataException();

## Member Functions

### className

const char * className() const;

See also: Poco::IOException::className()

### clone

Poco::Exception * clone() const;

### name

const char * name() const;

See also: Poco::IOException::name()

### operator =

DataException & operator = (
const DataException & exc
);

### rethrow

void rethrow() const;

See also: Poco::IOException::rethrow()