Main Page Modules Class Hierarchy Data Structures File List Data Fields Globals Related Pages

# oscl_error_codes.h

Go to the documentation of this file.

    00001 // -*- c++ -*-
    00002 // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    00003
    00004 //                     O S C L _ E R R O R _ C O D E S
    00005
    00006 // = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = =
    00007
    00018 #ifndef OSCL_ERROR_CODES_H_INCLUDED
    00019 #define OSCL_ERROR_CODES_H_INCLUDED
    00020
    00021
    00024 typedef int32 OsclLeaveCode;
    00025
    00026 #define OsclErrNone 0
    00027 #define OsclErrGeneral 100
    00028 #define OsclErrNoMemory 101
    00029 #define OsclErrCancelled 102
    00030 #define OsclErrNotSupported 103
    00031 #define OsclErrArgument 104
    00032 #define OsclErrBadHandle 105
    00033 #define OsclErrAlreadyExists 106
    00034 #define OsclErrBusy 107
    00035 #define OsclErrNotReady 108
    00036 #define OsclErrCorrupt 109
    00037 #define OsclErrTimeout 110
    00038 #define OsclErrOverflow 111
    00039 #define OsclErrUnderflow 112
    00040 #define OsclErrInvalidState 113
    00041 #define OsclErrNoResources 114
    00042 #define OsclErrNotInstalled 115
    00043 #define OsclErrAlreadyInstalled 116
    00044 #define OsclErrSystemCallFailed 117
    00045 #define OsclErrNoHandler 118
    00046 #define OsclErrThreadContextIncorrect 119
    00047
    00050 #define OSCL_ERR_NONE OsclErrNone
    00051 #define OSCL_BAD_ALLOC_EXCEPTION_CODE OsclErrNoMemory
    00052
    00055 typedef int32 OsclReturnCode;
    00056
    00057 #define  OsclSuccess 0
    00058 #define  OsclPending 1
    00059 #define  OsclFailure -1
    00060
    00061 #endif
    00062