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

# OsclErrorTrap Class Reference
[OSCL Error]

`#include <oscl_error.h>`

## Static Public Methods
OSCL_IMPORT_REF int32 | Init (Oscl_DefAlloc *aAlloc=NULL)
OSCL_IMPORT_REF int32 | Cleanup ()
OSCL_IMPORT_REF OsclErrorTrapImp * | GetErrorTrapImp ()

## Member Function Documentation

OSCL_IMPORT_REF int32 OsclErrorTrap::Cleanup | ( |  | ) | `[static]`

| Cleanup and destroy error trap for the calling thread. Returns: 0 for success, or an error

OSCL_IMPORT_REF OsclErrorTrapImp* OsclErrorTrap::GetErrorTrapImp | ( |  | ) | `[static]`

| Get the ErrorTrapImp for the current thread. Leaves on error.

OSCL_IMPORT_REF int32 OsclErrorTrap::Init | ( | Oscl_DefAlloc * | aAlloc = NULL | ) | `[static]`

  | Allocate and initialize error trap for the calling thread. Parameters:
  aAlloc: | optional, allocator to use for the internal implementation.
Returns: 0 for success, or an error

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

- oscl_error.h