private void prepareCancellationException(CancellationException e) { if (cancelStack != null) { Throwable rootCause = ExceptionUtils.getRootCause(e); rootCause.initCause(new FutureProcessingStack(cancelStack)); } }
protected FutureProcessingStack(StackTraceElement[] cancelStack) { this.setStackTrace(cancelStack); } }
protected FutureProcessingStack(StackTraceElement[] cancelStack) { this.setStackTrace(cancelStack); } }
private void prepareCancellationException(CancellationException e) { if (cancelStack != null) { Throwable rootCause = ExceptionUtils.getRootCause(e); rootCause.initCause(new FutureProcessingStack(cancelStack)); } }