public void setParameters(Object[] params) throws Exception{
		if(params.length == fields){
			this.params = params;
		} else {
			throw new Exception("Invalid number of fields for packet parameters.");
		}
	}