webkit  2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Types | Static Public Member Functions | Static Public Attributes | List of all members
WebCore::FileException Class Reference

#include <FileException.h>

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

Public Types

enum  FileExceptionCode {
  NOT_FOUND_ERR = FileExceptionOffset + 1, SECURITY_ERR = FileExceptionOffset + 2, ABORT_ERR = FileExceptionOffset + 3, NOT_READABLE_ERR = FileExceptionOffset + 4,
  ENCODING_ERR = FileExceptionOffset + 5, NO_MODIFICATION_ALLOWED_ERR = FileExceptionOffset + 6, INVALID_STATE_ERR = FileExceptionOffset + 7, SYNTAX_ERR = FileExceptionOffset + 8,
  INVALID_MODIFICATION_ERR = FileExceptionOffset + 9, QUOTA_EXCEEDED_ERR = FileExceptionOffset + 10, TYPE_MISMATCH_ERR = FileExceptionOffset + 11, PATH_EXISTS_ERR = FileExceptionOffset + 12
}
 

Static Public Member Functions

static Ref< FileExceptioncreate (const ExceptionCodeDescription &description)
 
static int ErrorCodeToExceptionCode (int errorCode)
 
static bool initializeDescription (ExceptionCode, ExceptionCodeDescription *)
 

Static Public Attributes

static const int FileExceptionOffset = 1100
 
static const int FileExceptionMax = 1199
 

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

◆ FileExceptionCode

Enumerator
NOT_FOUND_ERR 
SECURITY_ERR 
ABORT_ERR 
NOT_READABLE_ERR 
ENCODING_ERR 
NO_MODIFICATION_ALLOWED_ERR 
INVALID_STATE_ERR 
SYNTAX_ERR 
INVALID_MODIFICATION_ERR 
QUOTA_EXCEEDED_ERR 
TYPE_MISMATCH_ERR 
PATH_EXISTS_ERR 

Member Function Documentation

◆ create()

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

◆ ErrorCodeToExceptionCode()

static int WebCore::FileException::ErrorCodeToExceptionCode ( int  errorCode)
inlinestatic

◆ initializeDescription()

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

Member Data Documentation

◆ FileExceptionMax

const int WebCore::FileException::FileExceptionMax = 1199
static

◆ FileExceptionOffset

const int WebCore::FileException::FileExceptionOffset = 1100
static

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