hello,
i am trying to manually throw exceptions and want to use the message of the exception for a textblock.
The excp-string (String^) is filled but not with the text i used for throwing the exception. Am I throwing the exception the wrong way? thanks!
try {
throw "test-throw";
}
catch (Exception^ ex)
{
// excp is a String^ used to set the Text of a textblock
excp = ex->Message;
}