I recently learned that if an exception is raised in the declaration section of my block, that block's exception section cannot handle the exception. That doesn't seem right. Why does PL/SQL work this way, and what does it mean for my coding practices?
If an exception is raised in the declaration section of your block, that exception will propagate out of the block unhandled.
The article continues at