Throw exception if View class is not found.

Closes #4955
I think renaming would make the most sense