views: fix exception raising to respect consistency.