]> Creatis software - gdcm.git/commitdiff
* python/setup.py : bug fix concerning install under windows
authorregrain <regrain>
Wed, 19 Feb 2003 17:08:19 +0000 (17:08 +0000)
committerregrain <regrain>
Wed, 19 Feb 2003 17:08:19 +0000 (17:08 +0000)
        ExtraPath reused :-P
      -- BeNours

src/gdcmException.cxx
src/gdcmException.h

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&)");
index 0938733be9b267d1a459c89c96c66bada8c2206a..3c30f94be732d78c03339b4a7cd9ddfb69a872c7 100644 (file)
@@ -36,12 +36,6 @@ class GDCM_EXPORT gdcmException : public exception {
   /// error message
   string error;
 
-  /// exception caught within exception class: print error message and die
-  static void fatal(const char *from) throw();
-
-  /// try to discover this (dynamic) class name
-  virtual string getName() const throw();
-
  public:
   /**
    * Builds an exception with minimal information: name of the thrower
@@ -74,6 +68,12 @@ class GDCM_EXPORT gdcmException : public exception {
   }
 
 
+  /// exception caught within exception class: print error message and die
+  static void fatal(const char *from) throw();
+
+  /// try to discover this (dynamic) class name
+  virtual string getName() const throw();
+
   friend ostream& operator<<(ostream &os, const gdcmException &e);
   
 };