]> Creatis software - gdcm.git/blobdiff - src/gdcmException.cxx
fusion des updates CVS
[gdcm.git] / src / gdcmException.cxx
index 9ad0f4cf73f7969959cd6f19dae2333f63fe9a9e..fcf2f3149eae9b92e8bbf4c8f018063e72577a0f 100644 (file)
@@ -76,7 +76,7 @@ gdcmException::operator const char *() const throw() {
 
 ostream& operator<<(ostream &os, const gdcmException &e) {
   try {  
-    os << "Exception " << e.getName() << " thrown: " << e.error << endl;
+    os << "Exception " << e.getName() << " thrown: " << e.getError() << endl;
   }
   catch(...) {
     gdcmException::fatal("operator<<(ostream &, const gdcmException&)");