#include<iostream>
#include<stdexcept>
#include<string>
using namespace std;
void carPackage();
void shellPackage();
class Myexception : public runtime_error
{
public:
	Myexception(const string& msg="") : runtime_error(msg){}
};
int main()
{
	carPackage();
return 0;
}

void carPackage()
{
    try
	{
		shellPackage();
	}
        catch(Myexception& me)
	{
		cout<<me.what()<<endl;
		cout<<"Carpackage error"<<endl;
	}
}
void shellPackage()
{
	throw Myexception("ShellPackage error");
}
	
	

