You are on page 1of 10
=xcephory Hon ihr Bs fin exceplfan ts” unex pettes| | unusantead | Sknorme) sshuoakion. tho mecutee| ect Tumi Cables ent CEphey), A €x- pewcentutacepion Yor i Ei} excep tan % &x: — File Not Foune| Exception Ana in -eaception handling, we YShaulll hone ey citeinate Souyiee Hedin “akich We Coon hemallle the focception . Aj penencutéecepten — air Lh j 2) Uléxcephen : : 3) FileNol found excepto i a Public class eoccephone 7 raed public Glade wold yen ishing a font che 18s b= G5 The object ostienteal moachanism has provi \ ‘the Followime techniques do uate With enccep dian. ms iy im Case We Use PIE defines} | 2) Gdeh enccepHany then hovreto Use. } 3) dare | 4) thoes => In We ote mokeny cl UseH defined -enceplom “Hen we. hone to Use baths SJ Finally. Le” Hh your hove Such Kinal af Coale ‘ ° \klWich ty Com padsand bo enccube, them We Use Finally This excep is a Such Kiang of emcepHon, ba peoencam having enccephon dren > ib wall encugren, J wi yut honfong diver SE Will also excoe. fa ¥ Ex Public clase exception é oO oe Steffe veld matin (etorinarsantf) Sqpiem: cut. printin (Helle Beshorar]")s int a=|0, b= 09, ¢; ag g Gi Olb:;, System. uh. printin (©) 5 3 i. TT ee: is Rel. vasiobh you Gn 3 q the lexten System. wut. prniin Le); 4 Excephem Hierarchy. © kihat is exception Meranchy. 2 Ams Thiowable ty. a Super class ki hich Gntaing +00 Sub clisged.--. | PS Thiewarle class [a dhe Supei ow veeb elass oh dara exception eae kIhich Gnjeins -hoo Sub dasses that rey lk A) €xceptio 2) S008. ExtepHmea. 4. Runtimeéxcephim. 4 coven How Ove ea ae S SOL Exception. a. L0Ewror. 4. Inteviuptesl exceplayt fF Limlkoge Coutts 5. ClassNot foongl excep ; * Satine exception > Avithmetfc exception. > Null pointes exception, > Incler Out of Rounals excep. > ie a Out oF Bounds ExcepHon, Ly Stodiny Inclexe Out of Bound GxcepHon. 2. TO Excep Hon \— > Eor éxception ( €nol of File Exccptfon ) ? Ly File Not Foundl CxcepHion. te [Westsdarg ] > Source Code. | Savac a eoioy, vy Neat » Close v / —> S_k\ithont ee class Herncianat. € Pablic stalfe veld main (Stodry es og) © e s System cut. princtin Clean Coir); Imt &=20,b=0, C3 c= a/b3 System. aut. printin (c)5 eae oud-printih (“Like skate’) Cotch (Mrithineffcexception cv) econ pentih ("cmt be device by zeid’); System. aut. print in ('substoibe')s stall painthn ("main method emalea|"); 3 ke ’ 3

You might also like