@Test
public void testTimeCallableException()
        throws Exception
{

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