How to catch exceptions in C++

Member

vivien_maggio

by vivien_maggio , in category: C/C++ , 2 months ago

How to catch exceptions in C++ 😃

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
catch (Exception &exception)
	{
		Application->ShowException(&exception);
	}
	catch (...)
	{
		try
		{
			throw Exception("");
		}
		catch (Exception &exception)
		{
			Application->ShowException(&exception);
		}
	}
Facebook Twitter LinkedIn Telegram Whatsapp Pocket

no answers