#include <iostream>
#include <exception>

using namespace std;

struct base
{
    base()
    {
        throw std::exception();
    }
};

struct derived : public base
{
    derived() try : base()
    {
      throw std::exception();
    }
    catch (std::exception& e) // will catch exceptions thrown base constructor
    {
        std::cout << "catch" << std::endl;
    }
};

int main()
{
	derived a;
	// your code goes here
	return 0;
}