- File:
-
- 1 edited
-
tests/exceptions/conditional.cfa (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
tests/exceptions/conditional.cfa
rb81fd95 re68d092 17 17 }; 18 18 19 const char *num_error_msg(num_error * this) {19 void num_error_msg(num_error * this) { 20 20 if ( ! this->msg ) { 21 21 static const char * base = "Num Error with code: X"; … … 56 56 57 57 try { 58 throw exc;58 throw &exc; 59 59 } catch (num_error * error ; 3 == error->virtual_table->code( error )) { 60 60 caught_num_error(3, error); … … 64 64 65 65 try { 66 throwResume exc;66 throwResume &exc; 67 67 } catchResume (num_error * error ; 3 == error->virtual_table->code( error )) { 68 68 caught_num_error(3, error);
Note:
See TracChangeset
for help on using the changeset viewer.