code cleanup in the views exception handling

this simplifies and standardizes the exception handling for the views that use the jobs model (including the objectstore).