Adds error messaging to Parser when a class cannot be found.