Exceptions/Catch an exception thrown in a nested call: Difference between revisions
Content added Content deleted
m (→{{header|C}}) |
|||
Line 257: | Line 257: | ||
int exc_depth = 0; |
int exc_depth = 0; |
||
int exc_alloc = 0; |
int exc_alloc = 0; |
||
char * exc_string; |
const char * exc_string; |
||
char * e_saved; |
|||
void throw(char *str) |
void throw(const char *str) |
||
{ |
{ |
||
exc_string = str; |
exc_string = str; |