Salome HOME
PR: merge from BR_DATACONV_PR tag "mergeto_trunk_25oct06"
[modules/yacs.git] / src / engine / ConversionException.cxx
diff --git a/src/engine/ConversionException.cxx b/src/engine/ConversionException.cxx
new file mode 100644 (file)
index 0000000..06b839c
--- /dev/null
@@ -0,0 +1,12 @@
+#include "ConversionException.hxx"
+
+using namespace YACS::ENGINE;
+
+const char ConversionException::TYPEOFEXCEPTION[]="Conversion between types failed : ";
+
+
+ConversionException::ConversionException(const std::string& what):Exception(TYPEOFEXCEPTION)
+{
+  _what=TYPEOFEXCEPTION;
+  _what+=what;
+}