annotate src/goodjava/rpc/RpcError.java @ 1774:764723436f05

better json_parse exception
author Franklin Schmidt <fschmidt@gmail.com>
date Thu, 27 Jul 2023 17:24:49 -0600
parents 27efb1fcbcb5
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
1402
27efb1fcbcb5 move luan.lib to goodjava
Franklin Schmidt <fschmidt@gmail.com>
parents: 1119
diff changeset
1 package goodjava.rpc;
1119
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
2
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
3
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
4 public class RpcError extends RuntimeException {
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
5
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
6 public RpcError(String msg) {
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
7 super(msg);
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
8 }
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
9
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
10 public RpcError(Exception e) {
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
11 super(e);
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
12 }
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
13
87c674f3f6b7 add RpcError
Franklin Schmidt <fschmidt@gmail.com>
parents:
diff changeset
14 }