TTrapHandler Class Reference

#include <e32std.h>

class TTrapHandler
Public Member Functions
pure virtual IMPORT_C voidLeave(TInt)
pure virtual IMPORT_C voidTrap()
pure virtual IMPORT_C voidUnTrap()

Detailed Description

Abstract class that defines a handler to work with the TRAP mechanism.

Symbian OS provides a trap handler and this class does not normally need to be used or accessed directly by applications and third party code.

Constructor & Destructor Documentation

TTrapHandler ( )


Default constructor.

Member Function Documentation

Leave ( TInt )

IMPORT_C voidLeave(TIntaValue)[pure virtual]

Called when a function within a TRAP leaves.

aValueThe leave value.

Trap ( )

IMPORT_C voidTrap()[pure virtual]

Called when a TRAP is invoked.

UnTrap ( )

IMPORT_C voidUnTrap()[pure virtual]

Called when a function exits a TRAP without leaving.