ctkPluginDatabaseException Class Reference

#include <Libs/PluginFramework/ctkPluginDatabaseException.h>

List of all members.

Public Types

enum  Type {
  UNSPECIFIED, DB_CONNECTION_INVALID, DB_NOT_OPEN_ERROR, DB_NOT_FOUND_ERROR,
  DB_CREATE_DIR_ERROR, DB_WRITE_ERROR, DB_FILE_INVALID, DB_SQL_ERROR
}

Public Member Functions

 ctkPluginDatabaseException (const ctkPluginDatabaseException &o)
 ctkPluginDatabaseException (const QString &msg, const std::exception &cause)
 ctkPluginDatabaseException (const QString &msg, const Type &type=UNSPECIFIED, const std::exception &cause=std::exception())
std::exception getCause () const
Type getType () const
ctkPluginDatabaseExceptionoperator= (const ctkPluginDatabaseException &o)
void setCause (const std::exception &) throw (std::logic_error)
 ~ctkPluginDatabaseException () throw ()

Detailed Description

Definition at line 32 of file ctkPluginDatabaseException.h.


Member Enumeration Documentation

Enumerator:
UNSPECIFIED 
DB_CONNECTION_INVALID 
DB_NOT_OPEN_ERROR 
DB_NOT_FOUND_ERROR 
DB_CREATE_DIR_ERROR 
DB_WRITE_ERROR 
DB_FILE_INVALID 
DB_SQL_ERROR 

Definition at line 36 of file ctkPluginDatabaseException.h.


Constructor & Destructor Documentation

ctkPluginDatabaseException::ctkPluginDatabaseException ( const QString &  msg,
const Type type = UNSPECIFIED,
const std::exception &  cause = std::exception() 
)

Definition at line 27 of file ctkPluginDatabaseException.cpp.

ctkPluginDatabaseException::ctkPluginDatabaseException ( const QString &  msg,
const std::exception &  cause 
)

Definition at line 34 of file ctkPluginDatabaseException.cpp.

ctkPluginDatabaseException::ctkPluginDatabaseException ( const ctkPluginDatabaseException o  ) 

Definition at line 41 of file ctkPluginDatabaseException.cpp.

ctkPluginDatabaseException::~ctkPluginDatabaseException (  )  throw () [inline]

Definition at line 53 of file ctkPluginDatabaseException.h.


Member Function Documentation

std::exception ctkPluginDatabaseException::getCause (  )  const

Definition at line 56 of file ctkPluginDatabaseException.cpp.

ctkPluginDatabaseException::Type ctkPluginDatabaseException::getType (  )  const

Definition at line 68 of file ctkPluginDatabaseException.cpp.

ctkPluginDatabaseException & ctkPluginDatabaseException::operator= ( const ctkPluginDatabaseException o  ) 

Definition at line 48 of file ctkPluginDatabaseException.cpp.

void ctkPluginDatabaseException::setCause ( const std::exception &  cause  )  throw (std::logic_error)

Definition at line 61 of file ctkPluginDatabaseException.cpp.


The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines

Generated on 21 May 2010 for CTK by  doxygen 1.6.1