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&)");