class ExceptionUtils {

  public static StackTraceElement[] concat(final StackTraceElement[] left,
      final StackTraceElement[] right) {
    final StackTraceElement[] ret = new StackTraceElement[left.length + right.length];
    System.arraycopy(left, 0, ret, 0, left.length);
    System.arraycopy(right, 0, ret, left.length, right.length);
    return ret;
  }

}