1 package org.jgroups.service.lease; 2 3 8 public class RecursiveLeaseRequestException extends LeaseDeniedException { 9 10 protected final Object tenant; 11 12 public RecursiveLeaseRequestException(Object leaseTarget, Object tenant) { 13 super(leaseTarget); 14 15 this.tenant = tenant; 16 } 17 18 public RecursiveLeaseRequestException(String msg, Object leaseTarget, 19 Object tenant) 20 { 21 super(msg, leaseTarget); 22 23 this.tenant = tenant; 24 } 25 26 public Object getTenant() { 27 return tenant; 28 } 29 30 } | Popular Tags |