title: Cannot implicitly convert type'System.Data.Entity.Validation.DbEntityValidationException' to 'System.Exception'
body: <pre><code>try
  {
      using (var context = new DbContext())
      {
          context.Contracts.Add(_contract);
          context.SaveChanges();
      }
  }
  catch (System.Data.Entity.Validation.DbEntityValidationException ex)
  {                
      foreach (var validationErrors in ex.EntityValidationErrors)
      {
          foreach (var validationError in validationErrors.ValidationErrors)
          {
              string message = string.Format("{0}:{1}",
                  validationErrors.Entry.Entity.ToString(),
                  validationError.ErrorMessage);                       
          }
      }
      throw;
  }   
  </code></pre>
  
  <blockquote>
    <p>//Error: "Cannot implicitly convert
    type'System.Data.Entity.Validation.DbEntityValidationException' 
             to 'System.Exception'"//  Getting this error while using System.Data.Entity.Validation.DbEntityValidationException in Catch
    block</p>
  </blockquote>