gflib
1.0
|
00001 #ifndef __GFL_MEMORY_ALLOCATE_EXCEPTION_H__ 00002 #define __GFL_MEMORY_ALLOCATE_EXCEPTION_H__ 00003 00004 #pragma once 00005 00006 #include <nn.h> 00007 #include <exception> 00008 00009 #include <err/gfl_Exception.h> 00010 00011 00012 namespace gfl{ 00013 namespace err{ 00014 00015 00016 00020 class MemoryAllocateException : public gfl::err::Exception, public ::std::bad_alloc 00021 { 00022 public: 00032 // ----------------------------------------------------------------------- 00033 MemoryAllocateException( const char * message = NULL, const char *fileName = NULL, u32 line = 0 ); 00034 }; 00035 00036 00037 00038 } // err 00039 } // gfl 00040 00041 #endif // __GFL_MEMORY_ALLOCATE_EXCEPTION_H__