Exceptions Raised in Handlers Assignment Help

Assignment Help: >> Exceptions - Exceptions Raised in Handlers

Exceptions Raised in Handlers:

Only one exception at a time can be active in the exception-handling category of a block or subprogram. Then, an exception raised  inside a handler propagates instantly to the enclosing block, that is searched to seek a handler for the newly raised exception. From there on, an exception propagates simply. Let consider the given example:

Example

EXCEPTION

WHEN INVALID_NUMBER THEN

INSERT INTO ...       -- might raise DUP_VAL_ON_INDEX

WHEN DUP_VAL_ON_INDEX THEN . -cannot catch the exception

Free Assignment Quote

Assured A++ Grade

Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!

All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd