view src/goodjava/rpc/RpcException.java @ 1821:d28f5ed56454

fix stringify empty list
author Franklin Schmidt <fschmidt@gmail.com>
date Tue, 09 Jul 2024 07:17:41 -0600
parents 27efb1fcbcb5
children
line wrap: on
line source

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;
	}
}