PCStore::TStoreException Class Reference

#include <pcstore/storeexception.h>

class PCStore::TStoreException
Public Attributes
EStoreError iErrorCode
Public Member Enumerations
enumEStoreError { EFileOpenError, EFileReadError, EFileWriteError, EFileSeekError, ..., EDesOverfloat }
Public Member Functions
TStoreException(EStoreError)

Detailed Description

Class for the exceptions which will be thrown by the PCStore library.

Member Attribute Documentation

iErrorCode

EStoreError iErrorCode

Member Enumeration Documentation

Enum EStoreError

EnumeratorValueDescription
EFileOpenError-1

library wide error code -1: fail to open file.

EFileReadError-2

library wide error code -2: fail to read file.

EFileWriteError-3

library wide error code -3: fail to write file.

EFileSeekError-4

library wide error code -4: fail to seek file.

EStreamExclusionError-5

library wide error code -5: attemp to create stream while another stream exists.

EStoreNotSupported-6

library wide error code -6: the file is not the supported store type.

EStoreModeError-7

library wide error code -7: operation on a mismatching type of store.

EStoreCorrupt-8

library wide error code -8: the store file is corrupted.

EDesOverfloat-9

library wide error code -9: the maximum length of the descriptor overfloates

Constructor & Destructor Documentation

TStoreException ( EStoreError )

TStoreException(EStoreErroraCode)