Exception.cpp 261 Bytes
Newer Older
Imanol Pérez's avatar
Imanol Pérez committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#include "Exception.hpp"
#include <iostream>



Exception::Exception(std::string sum, std::string prob)
{
  problem = prob;
  summary = sum;
  std::cerr << "**  Exception ("<<summary<<") **\n";
  std::cerr << "Problem: " << problem << "\n\n";
}