Mercurial Hosting > luan
annotate src/goodjava/rpc/RpcException.java @ 1538:634f6765830e
use goodjava/lucene/logging
author | Franklin Schmidt <fschmidt@gmail.com> |
---|---|
date | Fri, 07 Aug 2020 21:42:16 -0600 |
parents | 27efb1fcbcb5 |
children |
rev | line source |
---|---|
1402
27efb1fcbcb5
move luan.lib to goodjava
Franklin Schmidt <fschmidt@gmail.com>
parents:
1118
diff
changeset
|
1 package goodjava.rpc; |
1118 | 2 |
3 import java.io.InputStream; | |
4 | |
5 | |
6 public class RpcException extends Exception { | |
7 public final InputStream in; | |
8 public final long lenIn; | |
9 public final Object[] values; | |
10 | |
11 public RpcException(String id,Object... values) { | |
12 this(null,-1,id,values); | |
13 } | |
14 | |
15 public RpcException(InputStream in,long lenIn,String id,Object... values) { | |
16 super(id); | |
17 this.in = in; | |
18 this.lenIn = lenIn; | |
19 this.values = values; | |
20 } | |
21 } |