DIFFERENCE BETWEEN @THROW AND RAISE?

Tarun Kumar

Total Post:107

Points:535
Posted by  Tarun Kumar
 717  View(s)
Ratings:
Rate this:
  1. Tarun Kumar

    Post:107

    Points:535
    Difference between @throw and raise?

    raise- this will send only NSException object.
    where as,
    @throw- this can take NSString Objects in its argument and also take NSException Object. (Cocoa applications should @throw only NSException objects).

Answer

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!