Next:
Errors Vs. Exceptions
Up:
A CONCISE MANUAL ON
Previous:
Method Overloading: changing data
Contents
Exception Handling
Subsections
Errors Vs. Exceptions
Exceptions
Default Exception Handling
Types
Built-in exceptions
Arithmetic exception
NullPointer
Exception
StringIndexOutOfBound
Exception
FileNotFound
Exception
NumberFormat
Exception
ArrayIndexOutOfBounds
Exception
User-Defined Exceptions
Try-catch
Control flow for Exception Handling
Exception occurs in try block and handled in catch block
Control flow in try-catch-finally clause