try statement
try statement
- Subject: try statement
- From: Lorenzo <email@hidden>
- Date: Tue, 20 May 2003 10:13:32 +0200
I attempted to use the "try" statement in my Cocoa application
try{
//I do something here;
}
catch (Exception result) {
//I do other things here;
}
But whatever I write inside the braquets
the compiler says everytime:
illegal statement, missing `;' after `try'
I remember in Carbon I used that some way,
so please what did I forget?
And how to get the error with catch?
Best Regards
--
Lorenzo
email: email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.