Course:: Easy-To-Follow Java Programming
Course:: Easy-To-Follow Java Programming
1. Exceptions…
… are errors.
… are good for separating error handling from the normal algorithm.
throws
throw
raise
create
catch
try
finally
throws
throw
raise
create
catch
try
finally
ArrayIndexOutOfBoundsException is a RuntimeException.
Subclasses of RuntimeException
Subclasses of RuntimeException
The answers
1. Exceptions…
… are errors.
X … are good for separating error handling from the normal algorithm.
throws
X throw
raise
create
catch
try
finally
throws
throw
raise
create
X catch
try
finally
X ArrayIndexOutOfBoundsException is a RuntimeException.
Subclasses of RuntimeException
X Subclasses of RuntimeException