1 using Newtonsoft.Json.Linq;
4 namespace GumartinM.JsonRPC4NET
7 /// Json rpc client exception.
9 public class JsonRpcClientException : System.Exception
14 private readonly int _code;
19 private readonly JToken _data;
22 /// Initializes a new instance of the <see cref="GumartinM.JsonRPC4NET.JsonRpcClientException"/> class.
24 /// <param name="code">Code.</param>
25 /// <param name="message">Message.</param>
26 /// <param name="data">Data.</param>
27 public JsonRpcClientException(int code, String message, JToken data)
37 /// <returns>The code.</returns>
46 /// <returns>The data.</returns>
47 public JToken getData()