webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
WebCore::SQLException Class Reference

#include <SQLException.h>

Inheritance diagram for WebCore::SQLException:
WebCore::ExceptionBase WTF::RefCounted< ExceptionBase > WTF::RefCounted< ExceptionBase > WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase WTF::RefCountedBase

Public Types

enum  SQLExceptionCode {
  UNKNOWN_ERR = SQLExceptionOffset, DATABASE_ERR = SQLExceptionOffset + 1, VERSION_ERR = SQLExceptionOffset + 2, TOO_LARGE_ERR = SQLExceptionOffset + 3,
  QUOTA_ERR = SQLExceptionOffset + 4, SYNTAX_ERR = SQLExceptionOffset + 5, CONSTRAINT_ERR = SQLExceptionOffset + 6, TIMEOUT_ERR = SQLExceptionOffset + 7
}
 

Static Public Member Functions

static Ref< SQLExceptioncreate (const ExceptionCodeDescription &description)
 
static bool initializeDescription (ExceptionCode, ExceptionCodeDescription *)
 

Static Public Attributes

static const int SQLExceptionOffset = 1000
 
static const int SQLExceptionMax = 1099
 

Additional Inherited Members

- Public Member Functions inherited from WebCore::ExceptionBase
unsigned short code () const
 
String name () const
 
String message () const
 
String toString () const
 
unsigned short code () const
 
String name () const
 
String message () const
 
String toString () const
 
- Public Member Functions inherited from WTF::RefCounted< ExceptionBase >
void deref () const
 
void deref () const
 
void deref () const
 
- Public Member Functions inherited from WTF::RefCountedBase
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
void ref () const
 
bool hasOneRef () const
 
unsigned refCount () const
 
void relaxAdoptionRequirement ()
 
- Protected Member Functions inherited from WebCore::ExceptionBase
 ExceptionBase (const ExceptionCodeDescription &)
 
 ExceptionBase (unsigned short code, const String &name, const String &message, const String &typeName)
 
 ExceptionBase (const ExceptionCodeDescription &)
 
 ExceptionBase (unsigned short code, const String &name, const String &message, const String &typeName)
 
- Protected Member Functions inherited from WTF::RefCounted< ExceptionBase >
 RefCounted ()
 
 RefCounted ()
 
 RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
 ~RefCounted ()
 
- Protected Member Functions inherited from WTF::RefCountedBase
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 
 RefCountedBase ()
 
 ~RefCountedBase ()
 
bool derefBase () const
 
bool deletionHasBegun () const
 

Member Enumeration Documentation

◆ SQLExceptionCode

Enumerator
UNKNOWN_ERR 
DATABASE_ERR 
VERSION_ERR 
TOO_LARGE_ERR 
QUOTA_ERR 
SYNTAX_ERR 
CONSTRAINT_ERR 
TIMEOUT_ERR 

Member Function Documentation

◆ create()

static Ref<SQLException> WebCore::SQLException::create ( const ExceptionCodeDescription description)
inlinestatic

◆ initializeDescription()

bool SQLException::initializeDescription ( ExceptionCode  ec,
ExceptionCodeDescription description 
)
static

Member Data Documentation

◆ SQLExceptionMax

const int WebCore::SQLException::SQLExceptionMax = 1099
static

◆ SQLExceptionOffset

const int WebCore::SQLException::SQLExceptionOffset = 1000
static

The documentation for this class was generated from the following files: