diff src/goodjava/rpc/RpcException.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/RpcException.java@e4710ddfd287
children
line wrap: on
line diff
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/src/goodjava/rpc/RpcException.java	Tue Sep 17 01:35:01 2019 -0400
@@ -0,0 +1,21 @@
+package goodjava.rpc;
+
+import java.io.InputStream;
+
+
+public class RpcException extends Exception {
+	public final InputStream in;
+	public final long lenIn;
+	public final Object[] values;
+
+	public RpcException(String id,Object... values) {
+		this(null,-1,id,values);
+	}
+
+	public RpcException(InputStream in,long lenIn,String id,Object... values) {
+		super(id);
+		this.in = in;
+		this.lenIn = lenIn;
+		this.values = values;
+	}
+}