Functions
failer.cc File Reference
#include "cetlib/filepath_maker.h"
#include "cetlib_except/exception.h"
#include "fhiclcpp/ParameterSet.h"
#include <iostream>

Go to the source code of this file.

Functions

int main ()
 

Function Documentation

int main ( void  )

Definition at line 8 of file failer.cc.

8  {
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
const double e
cet::coded_exception< error, detail::translate > exception
Definition: exception.h:33