Changeset 3106 for trunk/src/STPol.cpp


Ignore:
Timestamp:
10/04/16 18:20:50 (8 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes/No?

Interface Changes: Yes/No?

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No?

Module(s): Module Names change impacts.

Description: Describe your changes here...


Check-in asap modifications from Jim regarding casacore namespace conversion.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/STPol.cpp

    r904 r3106  
    4343  if ( labelmap_.find(type) ==  labelmap_.end() ) {
    4444    std::string msg = "Illegal polarisation type "+type;
    45     throw(casa::AipsError(msg));
     45    throw(casacore::AipsError(msg));
    4646  } else {
    4747    std::map<int, std::string>  poltype = labelmap_[type];
    4848    if ( poltype.find(index) ==  poltype.end() ) {
    4949      std::string msg = "Illegal polarisation index";
    50       throw(casa::AipsError(msg));
     50      throw(casacore::AipsError(msg));
    5151    } else {
    5252      return poltype[index];
     
    9595  if ( polmap_.find(key) ==  polmap_.end() ) {
    9696    std::string msg = "Illegal polarisation type "+key;
    97     throw(casa::AipsError(msg));
     97    throw(casacore::AipsError(msg));
    9898  } else {
    9999    return polmap_[key];
Note: See TracChangeset for help on using the changeset viewer.