Mercurial Hosting > luan
annotate src/goodjava/rpc/RpcError.java @ 1402:27efb1fcbcb5
move luan.lib to goodjava
| author | Franklin Schmidt <fschmidt@gmail.com> |
|---|---|
| date | Tue, 17 Sep 2019 01:35:01 -0400 |
| parents | src/luan/lib/rpc/RpcError.java@87c674f3f6b7 |
| children |
| rev | line source |
|---|---|
|
1402
27efb1fcbcb5
move luan.lib to goodjava
Franklin Schmidt <fschmidt@gmail.com>
parents:
1119
diff
changeset
|
1 package goodjava.rpc; |
| 1119 | 2 |
| 3 | |
| 4 public class RpcError extends RuntimeException { | |
| 5 | |
| 6 public RpcError(String msg) { | |
| 7 super(msg); | |
| 8 } | |
| 9 | |
| 10 public RpcError(Exception e) { | |
| 11 super(e); | |
| 12 } | |
| 13 | |
| 14 } |
