Throw error if controller class not found