Finished MinLengthPaths: a specialization of MinCostFlows.
3 #include <hugo/error.h>
10 fault("This is a fault message");
14 throw Exception("This is a fn throwing excpt with some args: ")
18 void unfinished_fn() {
19 FIXME("unfinished_fn() is unfinished!");
24 bool no_errors = false;
27 cout << "Trying a faulty function\n";
32 catch(const Exception &e) {
33 cout << "E: " << e.what() << endl;
37 cout << "Trying a function throwing Exception\n";
42 catch(const Exception &e) {
43 cout << "E: " << e.what() << endl;
47 cout << "Trying a function using FIXME\n";
52 catch(const Exception &e) {
53 cout << "E: " << e.what() << endl;
56 return no_errors ? 1 : 0;