Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

Opie::DB::OSQLError Class Reference

#include </home/clem/local/src/opie/libopie2/opiedb/osqlerror.h>

Collaboration diagram for Opie::DB::OSQLError:

Collaboration graph
[legend]
List of all members.

Public Types

typedef QValueList< OSQLErrorValueList
enum  Type {
  None = 0, Internal, Unknown, Transaction,
  Statement, Connection, Driver
}
enum  DriverError {
  DriverInternal = 0, Permission, Abort, Busy,
  Locked, NoMem, ReadOnly, Interrupt,
  IOErr, Corrupt, NotFound, Full,
  CantOpen, Protocol, Schema, TooBig,
  Mismatch, Misuse
}

Public Member Functions

 OSQLError (const QString &driverText=QString::null, const QString &driverDatabaseText=QString::null, int type=None, int subNumber=-1)
 ~OSQLError ()
QString driverText () const
QString databaseText () const
int type () const
int subNumber () const

Private Attributes

QString m_drvText
QString m_drvDBText
int m_type
int m_number
OSQLErrorPrivate * d

Detailed Description

OSQLError is the base class of all errors

Definition at line 13 of file osqlerror.h.


Member Typedef Documentation

typedef QValueList<OSQLError> Opie::DB::OSQLError::ValueList
 

Definition at line 15 of file osqlerror.h.


Member Enumeration Documentation

enum Opie::DB::OSQLError::DriverError
 

Enumeration values:
DriverInternal 
Permission 
Abort 
Busy 
Locked 
NoMem 
ReadOnly 
Interrupt 
IOErr 
Corrupt 
NotFound 
Full 
CantOpen 
Protocol 
Schema 
TooBig 
Mismatch 
Misuse 

Definition at line 24 of file osqlerror.h.

enum Opie::DB::OSQLError::Type
 

Enumeration values:
None 
Internal 
Unknown 
Transaction 
Statement 
Connection 
Driver 

Definition at line 16 of file osqlerror.h.


Constructor & Destructor Documentation

OSQLError::OSQLError const QString driverText = QString::null,
const QString driverDatabaseText = QString::null,
int  type = None,
int  subNumber = -1
 

Definition at line 5 of file osqlerror.cpp.

OSQLError::~OSQLError  ) 
 

Definition at line 12 of file osqlerror.cpp.


Member Function Documentation

QString OSQLError::databaseText  )  const
 

Definition at line 17 of file osqlerror.cpp.

References m_drvDBText.

QString OSQLError::driverText  )  const
 

Definition at line 14 of file osqlerror.cpp.

References m_drvText.

int OSQLError::subNumber  )  const
 

Definition at line 23 of file osqlerror.cpp.

References m_number.

int OSQLError::type  )  const
 

Definition at line 20 of file osqlerror.cpp.

References m_type.


Member Data Documentation

OSQLErrorPrivate* Opie::DB::OSQLError::d [private]
 

Definition at line 58 of file osqlerror.h.

QString Opie::DB::OSQLError::m_drvDBText [private]
 

Definition at line 55 of file osqlerror.h.

Referenced by databaseText().

QString Opie::DB::OSQLError::m_drvText [private]
 

Definition at line 54 of file osqlerror.h.

Referenced by driverText().

int Opie::DB::OSQLError::m_number [private]
 

Definition at line 57 of file osqlerror.h.

Referenced by subNumber().

int Opie::DB::OSQLError::m_type [private]
 

Definition at line 56 of file osqlerror.h.

Referenced by type().


The documentation for this class was generated from the following files:
Generated on Sat Nov 5 18:01:17 2005 for OPIE by  doxygen 1.4.2