remove use of deprecated exceptions. refs #1980
change to more appropriate exceptions. refs #1980
remove unneeded import.
Merge pull request #2113 from craigh/exceptions

Use better exceptions where appropriate. refs #1980