failer.cc
Go to the documentation of this file.
2 #include "cetlib_except/exception.h"
4 
5 #include <iostream>
6 
7 int
8 main() try {
9  std::string in("test_config_fail.fcl");
10  cet::filepath_lookup policy("FHICL_FILE_PATH");
11  fhicl::ParameterSet::make(in, policy);
12  return 1;
13 }
14 catch (cet::exception const& e) {
15  std::cerr << e.what() << '\n';
16  return 0;
17 }
std::string string
Definition: nybbler.cc:12
static ParameterSet make(intermediate_table const &tbl)
Definition: ParameterSet.cc:68
int main()
Definition: failer.cc:8
const double e
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33