Add exceptions thrower to setting, validator.

Remove Setting extend from view and model.