### Question:
Tracer { public static void trace(Throwable e) { traceContext(e, ContextUtil.getContext()); } protected  Tracer(); static void trace(Throwable e); @Deprecated static void trace(Throwable e, int count); static void traceContext(Throwable e, Context context); @Deprecated static void traceContext(Throwable e, int count, Context context); static void traceEntry(Throwable e, Entry entry); @SafeVarargs static void setExceptionsToTrace(Class<? extends Throwable>... traceClasses); static Class<? extends Throwable>[] getExceptionsToTrace(); @SafeVarargs static void setExceptionsToIgnore(Class<? extends Throwable>... ignoreClasses); static Class<? extends Throwable>[] getExceptionsToIgnore(); static Predicate<? extends Throwable> getExceptionPredicate(); static void setExceptionPredicate(Predicate<Throwable> exceptionPredicate);  }### Answer:
@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(); } }