Checking exception in Mvc\Dispatcher