Use better exceptions where appropriate. refs #1980

closes #1980 

| Q             | A
| ------------- | ---
| Bug fix?      | no
| New feature?  | no
| BC breaks?    | no
| Deprecations? | no
| Tests pass?   | yes
| Fixed tickets | -
| Refs tickets  | #1980
| License       | MIT
| Doc PR        | -
oversight.