1 using Newtonsoft.Json.Linq;
4 namespace GumartinM.JsonRPC4NET
6 public class JsonRpcClientException : System.Exception
11 private readonly int _code;
16 private readonly JToken _data;
19 /// Initializes a new instance of the <see cref="Example.RemoteAgents.GTKLinux.Model.JsonRpcClientException"/> class.
21 /// <param name="code">Code.</param>
22 /// <param name="message">Message.</param>
23 /// <param name="data">Data.</param>
24 public JsonRpcClientException(int code, String message, JToken data)
34 /// <returns>The code.</returns>
43 /// <returns>The data.</returns>
44 public JToken getData()