Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Remove bindings CXX from Simgrid
[simgrid.git] / src / cxx / Exception.cxx
diff --git a/src/cxx/Exception.cxx b/src/cxx/Exception.cxx
deleted file mode 100644 (file)
index c314f13..0000000
+++ /dev/null
@@ -1,64 +0,0 @@
-/*
- * 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
-
-
-