Professional Documents
Culture Documents
IT 2402notes-33
IT 2402notes-33
Lecture Notes – 33
Built in Exceptions
Java Built-In Exceptions:
The default java.lang package provides several exception classes, all sub-classing the
RuntimeException class.
Two sets of build-in exception classes:
1) unchecked exceptions – the compiler does not check if a method handles or
throws there exceptions
2) checked exceptions – must be included in the method’s throws clause if the
method generates but does not handle them
Exception Description
M. Satish (IT)
Object Oriented Programming through JAVA Unit – 3
Exception Description
M. Satish (IT)