Program: gdcm
Module: $RCSfile: testBruker2Dicom.cxx,v $
Language: C++
- Date: $Date: 2009/05/19 14:42:30 $
- Version: $Revision: 1.3 $
+ Date: $Date: 2009/05/27 10:43:07 $
+ Version: $Revision: 1.4 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
try {
b2d.Execute();
}
- catch (int)
+ catch (int i)
{
- std::cout << "Exception was thrown :-( " << std::endl;
+ std::cout << "Exception was thrown (" << i << ") " << std::endl;
}
+ /*
+ catch (std::exception& e) {
+ std::cerr << "ERREUR: " << e.what() << "expected length: " << e.getExpectedLgt()
+ << " Found : " << e.getFoundLgt() << std::endl;
+ }
+ */
+
+
delete am; // we don't need Argument Manager any longer
}