annotate src/goodjava/rpc/RpcError.java @ 1752:b4fa42c1e999

minor
author Franklin Schmidt <fschmidt@gmail.com>
date Wed, 25 Jan 2023 12:22:09 -0700
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 }