title: How to deserialize object derived from Exception class using Json.net?
body: <p>I'm trying to deserialize object derived from Exception class:</p>
  
  <pre><code>[Serializable]
  public class Error : Exception, ISerializable
  {
      public string ErrorMessage { get; set; }
      public Error() { }
  }
  </code></pre>
  
  
  
  <pre><code>Error error = JsonConvert.DeserializeObject&lt; Error &gt;("json error obj string"); 
  </code></pre>
  
  <p>It gives me error:</p>
  
  <blockquote>
    <p>ISerializable type 'type' does not have a valid constructor.</p>
  </blockquote>