Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
change consecutive to the renaming of the CXX wrappers
[simgrid.git] / src / cxx / Exception.cxx
index 94ae26e..c314f13 100644 (file)
@@ -1,64 +1,64 @@
-/*\r
- * Exception.cxx\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
- /* Exception member functions implementation.\r
-  * The base class of all the types of exceptions of SimGrid::Msg.\r
-  */  \r
-\r
-#include <Exception.hpp>\r
-\r
-namespace SimGrid\r
-{\r
-       namespace Msg\r
-       {\r
-               \r
-                       Exception::Exception()\r
-                       {\r
-                               reason = "Unknown reason";\r
-                       }\r
-               \r
-               \r
-                       Exception::Exception(const Exception& rException)\r
-                       {\r
-                               this->reason = rException.toString();\r
-                       }\r
-               \r
-               \r
-                       Exception::Exception(const char* reason)\r
-                       {\r
-                               this->reason = reason;\r
-                       }\r
-               \r
-               \r
-                       Exception::~Exception()\r
-                       {\r
-                               // NOTHING TODO\r
-                       }\r
-                               \r
-                       const char* Exception::toString(void) const\r
-                       {\r
-                               return this->reason;    \r
-                       }\r
-               \r
-               \r
-                       const Exception& Exception::operator = (const Exception& rException)\r
-                       {\r
-                               this->reason = rException.toString();\r
-                               return *this;\r
-                       }\r
-               \r
-       } // namespace Msg      \r
-\r
-}// namespace SimGrid\r
-\r
-\r
-\r
+/*
+ * Exception.cxx
+ *
+ * Copyright 2006,2007 Martin Quinson, Malek Cherier           
+ * All right reserved. 
+ *
+ * This program is free software; you can redistribute 
+ * it and/or modify it under the terms of the license 
+ *(GNU LGPL) which comes with this package. 
+ *
+ */
+ /* Exception member functions implementation.
+  * The base class of all the types of exceptions of SimGrid::Msg.
+  */  
+
+#include <Exception.hpp>
+
+namespace SimGrid
+{
+       namespace Msg
+       {
+               
+                       Exception::Exception()
+                       {
+                               reason = "Unknown reason";
+                       }
+               
+               
+                       Exception::Exception(const Exception& rException)
+                       {
+                               this->reason = rException.toString();
+                       }
+               
+               
+                       Exception::Exception(const char* reason)
+                       {
+                               this->reason = reason;
+                       }
+               
+               
+                       Exception::~Exception()
+                       {
+                               // NOTHING TODO
+                       }
+                               
+                       const char* Exception::toString(void) const
+                       {
+                               return this->reason;    
+                       }
+               
+               
+                       const Exception& Exception::operator = (const Exception& rException)
+                       {
+                               this->reason = rException.toString();
+                               return *this;
+                       }
+               
+       } // namespace Msg      
+
+}// namespace SimGrid
+
+
+