mirror of
https://github.com/reactos/reactos.git
synced 2024-10-30 11:35:58 +00:00
527f2f9057
* Create a branch for some evul shell experiments. svn path=/branches/shell-experiments/; revision=61927
24 lines
357 B
C++
24 lines
357 B
C++
#pragma once
|
|
|
|
#ifndef _PROVIDER_EXCEPT_H
|
|
#define _PROVIDER_EXCEPT_H
|
|
|
|
class CHeap_Exception
|
|
{
|
|
public:
|
|
enum HEAP_ERROR
|
|
{
|
|
E_ALLOCATION_ERROR = 0 ,
|
|
E_FREE_ERROR
|
|
};
|
|
|
|
CHeap_Exception(HEAP_ERROR e) : m_Error(e) {}
|
|
~CHeap_Exception() {}
|
|
|
|
HEAP_ERROR GetError() { return m_Error ; }
|
|
private:
|
|
HEAP_ERROR m_Error;
|
|
};
|
|
|
|
#endif
|