Exceptions usage fix.