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

# OsclException< LeaveCode > Class Template Reference
[OSCL Error]

oscl_exception.h contains all the exception handling macros and classes This template class provides the base exception class that all exceptions derive from More...

`#include <oscl_exception.h>`

## Public Methods
| OsclException ()
## Static Public Methods
int | getLeaveCode ()

## Detailed Description

### template<int LeaveCode>
class OsclException< LeaveCode >

oscl_exception.h contains all the exception handling macros and classes This template class provides the base exception class that all exceptions derive from

All PacketVideo exception classes will be derived from the OsclException class. Each derived class will have a static function where the leave code can be obtained. This avoids the issue of having static members in a DLL. The function needs to be static so it can be called without an instance of the class

## Constructor & Destructor Documentation

template<int LeaveCode>
OsclException< LeaveCode >::OsclException | ( |  | ) | `[inline]`

## Member Function Documentation

template<int LeaveCode>
int OsclException< LeaveCode >::getLeaveCode | ( |  | ) | `[inline, static]`

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

- oscl_exception.h