Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
last change of cpp wrappers for msg
[simgrid.git] / src / cxx / InvalidArgumentException.hpp
index fc4b201..5b779b5 100644 (file)
@@ -1,69 +1,69 @@
-/*\r
- * InvalidArgumentException.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_INVALIDARGUMENTEXCEPTION_HPP\r
-#define MSG_INVALIDARGUMENTEXCEPTION_HPP\r
-\r
-#ifndef __cplusplus\r
-       #error InvalidArgumentException.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 InvalidArgumentException : public Exception\r
-               {\r
-                       public:\r
-                       \r
-                       // Default constructor.\r
-                               InvalidArgumentException();\r
-                       \r
-                       // Copy constructor.\r
-                               InvalidArgumentException(const InvalidArgumentException& rInvalidArgumentException);\r
-                       \r
-                       // This constructor takes the name of the invalid argument.\r
-                               InvalidArgumentException(const char* name);\r
-                       \r
-                       // Destructor.\r
-                               virtual ~InvalidArgumentException();\r
-                               \r
-                       // Operations.\r
-                                       \r
-                                       // Returns the reason of the exception :\r
-                                       // the message "Invalid argument `argument name'"\r
-                                       const char* toString(void) const;\r
-                       \r
-                       // Operators.\r
-                               \r
-                               // Assignement.\r
-                               const InvalidArgumentException& operator = (const InvalidArgumentException& rInvalidArgumentException);\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_INVALIDARGUMENTEXCEPTION_HPP\r
-\r
+/*
+ * InvalidArgumentException.hpp
+ *
+ * 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. 
+ *
+ */  
+#ifndef MSG_INVALIDARGUMENTEXCEPTION_HPP
+#define MSG_INVALIDARGUMENTEXCEPTION_HPP
+
+#ifndef __cplusplus
+       #error InvalidArgumentException.hpp requires C++ compilation (use a .cxx suffix)
+#endif
+
+#include <Exception.hpp>
+
+namespace SimGrid
+{
+       namespace Msg
+       {
+               
+               class SIMGRIDX_EXPORT InvalidArgumentException : public Exception
+               {
+                       public:
+                       
+                       // Default constructor.
+                               InvalidArgumentException();
+                       
+                       // Copy constructor.
+                               InvalidArgumentException(const InvalidArgumentException& rInvalidArgumentException);
+                       
+                       // This constructor takes the name of the invalid argument.
+                               InvalidArgumentException(const char* name);
+                       
+                       // Destructor.
+                               virtual ~InvalidArgumentException();
+                               
+                       // Operations.
+                                       
+                                       // Returns the reason of the exception :
+                                       // the message "Invalid argument `argument name'"
+                                       const char* toString(void) const;
+                       
+                       // Operators.
+                               
+                               // Assignement.
+                               const InvalidArgumentException& operator = (const InvalidArgumentException& rInvalidArgumentException);
+                               
+                       private :
+                       
+                       // Attributes.
+                               
+                               // A buffer used to build the message returned by the methode toString().
+                               char* reason;
+               };
+               
+               
+       } // namespace Msg      
+
+}// namespace SimGrid
+
+
+#endif // !MSG_INVALIDARGUMENTEXCEPTION_HPP
+