Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove bindings CXX from Simgrid
[simgrid.git] / src / cxx / BadAllocException.hpp
diff --git a/src/cxx/BadAllocException.hpp b/src/cxx/BadAllocException.hpp
deleted file mode 100644 (file)
index b5726ee..0000000
+++ /dev/null
@@ -1,69 +0,0 @@
-/*\r
- * BadAllocException.hpp\r
- *\r
- * Copyright 2006,2007 Martin Quinson, Malek Cherier           \r
- * All right reserved. \r
- *\r
- * This program is free software; you can redistribute \r
- * it and/or modify it under the terms of the license \r
- *(GNU LGPL) which comes with this package. \r
- *\r
- */  \r
\r
-#ifndef MSG_BADALLOCEXCEPTION_HPP\r
-#define MSG_BADALLOCEXCEPTION_HPP\r
-\r
-#ifndef __cplusplus\r
-       #error BadAllocException.hpp requires C++ compilation (use a .cxx suffix)\r
-#endif\r
-\r
-#include <Exception.hpp>\r
-\r
-namespace SimGrid\r
-{\r
-       namespace Msg\r
-       {\r
-               \r
-               class SIMGRIDX_EXPORT BadAllocException : public Exception\r
-               {\r
-                       public:\r
-                       \r
-                       // Default constructor.\r
-                               BadAllocException();\r
-                       \r
-                       // Copy constructor.\r
-                               BadAllocException(const BadAllocException& rBadAllocException);\r
-                       \r
-                       // This constructor takes the name of the object of the allocation failure.\r
-                               BadAllocException(const char* objectName);\r
-                       \r
-                       // Destructor.\r
-                               virtual ~BadAllocException();\r
-                               \r
-                       // Operations.\r
-                                       \r
-                                       // Returns the reason of the exception :\r
-                                       // the message "Not enough memory to allocate : `object name'"\r
-                                       const char* toString(void) const;\r
-                       \r
-                       // Operators.\r
-                               \r
-                               // Assignement.\r
-                               const BadAllocException& operator = (const BadAllocException& rBadAllocException);\r
-                               \r
-                       private :\r
-                       \r
-                       // Attributes.\r
-                               \r
-                               // A buffer used to build the message returned by the methode toString().\r
-                               char* reason;\r
-               };\r
-               \r
-               \r
-       } // namespace Msg      \r
-\r
-}// namespace SimGrid\r
-\r
-\r
-#endif // !MSG_BADALLOCEXCEPTION_HPP\r
-\r