I am wondering can try..catch force execution to go into the catch and run code in there?
try..catch
catch
here example code:
try { if (
Yes, you have to throw exception :
try { throw new Exception("hello"); } catch (Exception) { //run some code here... }