the normmal owfiow ofof program program excution Thereare vanithy of reasons why n erception. may be generatel
Exaphont can bebe qenerated
geneatedl bu by harawae harolwan a wl au sofrware EAception handling is madle available in Objechve-c with foundation cas NSException.
Objechve -C supports our compiler direcives
excapion handling Thi's block tniet to try exeeute a set of Statements
(catch This block tie to catch the
cephion in the try blo ck
(throw throw excaption if you frd yourself
in a situation that indicated programming eor, and you you wat o stop the application tom running finally This block contain set of statemnts that alwos execute.
Ex aumple of situation that an
generate emor include ’
division by undanflow overfow calling undefnad instruchion.