Java Tutorial/Exception Handling

From Wikiversity

Jump to: navigation, search

Contents

[edit] What are exceptions?

Exception is an event that the normal process flow in the program. Events This is usually a mistake (error) of some form. This is because our program ends not normal.

by daniel butarbutar

[edit] Why they need to be handled?

[edit] Different ways

[edit] Adding "throws" expression

[edit] Using try/catch/finally block

[edit] What happens in exception handling?