public static void trace(Throwable e) {
        traceContext(e, ContextUtil.getContext());
    }
@Test
    public void testTraceWhenContextSizeExceedsThreshold() {
        int i = 0;
        for (; i < Constants.MAX_CONTEXT_NAME_SIZE; i++) {
            ContextUtil.enter("test-context-" + i);
            ContextUtil.exit();
        }

        try {
            ContextUtil.enter("test-context-" + i);
            throw new RuntimeException("test");
        } catch (Exception e) {
            Tracer.trace(e);
        } finally {
            ContextUtil.exit();
        }
    }