Java: Java Programming For Beginners a simple Start To Java Programming (Written By a software Engineer)


Download 0.82 Mb.
Pdf ko'rish
bet64/95
Sana09.01.2022
Hajmi0.82 Mb.
#261112
1   ...   60   61   62   63   64   65   66   67   ...   95
Bog'liq
Java Programming For Beginners - A Simple Start to Java Programming ( PDFDrive )

Hierarchy of Exceptions
All  classes  of  exceptions  are  subtypes  of  the  java.lang.exception  class.  This  class  is  a
subclass  of  the  Throwable  class.  Other  than  the  exception  class,  there  is  an  alternate
subclass  called  Error  which  is  gotten  from  the  Throwable  class.  These  special  case
scenarios  are  not  ordinarily  caught  by  the  Java  programs.  These  conditions  ordinarily
happen  if  alternate  scenarios  are  not  taken  care  of  by  the  java  programs.  Errors  are
produced to demonstrate lapses created by the runtime environment. A sample exception


is:  Out  of  Memory  or  Stack  Overflow.  The  Exception  class  has  two  primary  subclasses:
IOException and RuntimeException Classes.

Download 0.82 Mb.

Do'stlaringiz bilan baham:
1   ...   60   61   62   63   64   65   66   67   ...   95




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling