Mercurial Hosting > luan
annotate src/goodjava/rpc/RpcError.java @ 1492:aaac1d29edea
better io
| author | Franklin Schmidt <fschmidt@gmail.com> | 
|---|---|
| date | Sat, 02 May 2020 22:25:56 -0600 | 
| parents | 27efb1fcbcb5 | 
| children | 
| rev | line source | 
|---|---|
| 1402 
27efb1fcbcb5
move luan.lib to goodjava
 Franklin Schmidt <fschmidt@gmail.com> parents: 
1119diff
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 } | 
