#endif
+
void gdcmException::fatal(const char *from) throw() {
try {
cerr << "Fatal: exception received in " << from
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&)");