0030762: Foundation Classes - include backtrace within OSD_SIGSEGV
[occt.git] / src / Standard / Standard_OutOfMemory.hxx
index c75acbe..ad81c26 100644 (file)
@@ -68,7 +68,11 @@ public:
   Standard_EXPORT static void Raise(Standard_SStream& theMessage);
 
   //! Returns global instance of exception
-  Standard_EXPORT static Handle(Standard_OutOfMemory) NewInstance(const Standard_CString theMessage = "");
+  Standard_EXPORT static Handle(Standard_OutOfMemory) NewInstance (Standard_CString theMessage = "");
+
+  //! Returns global instance of exception
+  Standard_EXPORT static Handle(Standard_OutOfMemory) NewInstance (Standard_CString theMessage,
+                                                                   Standard_CString theStackTrace);
 
   DEFINE_STANDARD_RTTIEXT(Standard_OutOfMemory,Standard_ProgramError)