Fix exception class thrown.
Get tests running for CrudComponent. Still many to be updated.