Changeset 3106 for trunk/src/STPol.cpp
- Timestamp:
- 10/04/16 18:20:50 (8 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/STPol.cpp
r904 r3106 43 43 if ( labelmap_.find(type) == labelmap_.end() ) { 44 44 std::string msg = "Illegal polarisation type "+type; 45 throw(casa ::AipsError(msg));45 throw(casacore::AipsError(msg)); 46 46 } else { 47 47 std::map<int, std::string> poltype = labelmap_[type]; 48 48 if ( poltype.find(index) == poltype.end() ) { 49 49 std::string msg = "Illegal polarisation index"; 50 throw(casa ::AipsError(msg));50 throw(casacore::AipsError(msg)); 51 51 } else { 52 52 return poltype[index]; … … 95 95 if ( polmap_.find(key) == polmap_.end() ) { 96 96 std::string msg = "Illegal polarisation type "+key; 97 throw(casa ::AipsError(msg));97 throw(casacore::AipsError(msg)); 98 98 } else { 99 99 return polmap_[key];
Note: See TracChangeset
for help on using the changeset viewer.