Changeset 1813 for branches/newfiller/src
- Timestamp:
- 08/02/10 14:17:07 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/newfiller/src/FillerWrapper.h
r1811 r1813 16 16 #include <casa/Exceptions.h> 17 17 #include <casa/Utilities/CountedPtr.h> 18 #include <casa/OS/File.h> 19 18 20 #include <string> 19 21 … … 38 40 // void open(const std::string& filename, casa::Record rec) { 39 41 void open(const std::string& filename) { 42 casa::File file(filename); 43 if ( !file.exists() ) { 44 throw(AipsError("File does not exist")); 45 } 40 46 filler_ = new PKSFiller(stable_); 41 47 // if (filler_->open(filename, rec)) {
Note:
See TracChangeset
for help on using the changeset viewer.