This way, the error handler can simply be amended to deal with this exception type with a dedicated error message or page. Refs #1337. Closes #1528.