@Test
public void testTimeTryException()
        throws Exception
{

    SparseTimeStat stat = new SparseTimeStat(ticker);
    stat.setBucketIdProvider(bucketIdProvider);
    try (BlockTimer ignored = stat.time()) {
        ticker.elapseTime(10, TimeUnit.MILLISECONDS);
        throw new Exception("test exception");
    }
    catch (Exception ignored) {
    }
    ++bucketIdProvider.id;
    assertPreviousDistribution(stat, 1, 0.010, 0.010, 0.010);
}