logger.log(Level.INFO, "Cancelling remaining leases");
try {
logger.log(Level.INFO,
"Note: Expect cancelAll() to produce an exception trace "
+ "for the generated LeaseMapException");
lm.cancelAll();
throw new TestException("Successfully cancelled non-existent"
+ "lease");
} catch (LeaseMapException lme) {
if (lme.exceptionMap.size() != cancelCount) {
dumpLeaseMapException(lme);