test_class.file: culvert-main/src/test/java/com/bah/culvert/util/MultiRuntimeExceptionTest.java
test_class.identifier: MultiRuntimeExceptionTest
test_case.body: @Test
    public void testEmptyMultiRuntimeException() {
      List<Throwable> list = new ArrayList<Throwable>();
      Assert.assertNotNull(MultiRuntimeException.get(null));
      Assert.assertNotNull(MultiRuntimeException.get(list));
    }
test_case.class_method_signature: MultiRuntimeExceptionTest.testEmptyMultiRuntimeException()
test_case.full_signature: @Test public void testEmptyMultiRuntimeException()
test_case.identifier: testEmptyMultiRuntimeException
test_case.invocations: assertNotNull get assertNotNull get
test_case.modifiers: @Test public
test_case.parameters: ()
test_case.return: void
test_case.signature: void testEmptyMultiRuntimeException()
focal_class.declarator: serialVersionUID = 1L
focal_class.modifier: private static final
focal_class.original_string: private static final long serialVersionUID = 1L;
focal_class.type: long
focal_class.var_name: serialVersionUID
focal_class.file: culvert-main/src/main/java/com/bah/culvert/util/MultiRuntimeException.java
focal_class.identifier: MultiRuntimeException
focal_class.class_method_signature: MultiRuntimeException.MultiRuntimeException(String message, Throwable firstSource)
focal_class.full_signature: private  MultiRuntimeException(String message, Throwable firstSource)
focal_class.identifier: MultiRuntimeException
focal_class.modifiers: private
focal_class.parameters: (String message, Throwable firstSource)
focal_class.signature:  MultiRuntimeException(String message, Throwable firstSource)
focal_class.class_method_signature: MultiRuntimeException.get(Collection<Throwable> sources)
focal_class.full_signature: public static MultiRuntimeException get(Collection<Throwable> sources)
focal_class.identifier: get
focal_class.modifiers: public static
focal_class.parameters: (Collection<Throwable> sources)
focal_class.return: MultiRuntimeException
focal_class.signature: MultiRuntimeException get(Collection<Throwable> sources)
focal_class.superclass: extends RuntimeException
focal_method.body: public static MultiRuntimeException get(Collection<Throwable> sources) {
      if (sources == null || sources.size() == 0) {
        return new MultiRuntimeException(
            "MultiRuntimeException thrown with no sources!",
            new RuntimeException());
      }
      StringBuilder msgBuilder = new StringBuilder();
      msgBuilder
          .append("Multiple remote exceptions thrown. Stack trace to first included, rest in message below.\n");
      int traceNum = 1;
      for (Throwable t : sources) {
        if (traceNum > 1) {
          msgBuilder.append(String.format("Exception %d\n", traceNum));
          msgBuilder.append(t.getClass().getName());
          msgBuilder.append("\n");
          msgBuilder.append(t.getMessage());
          msgBuilder.append("\n");
          for (StackTraceElement element : t.getStackTrace()) {
            msgBuilder.append(String.format("\t%s:%d %s\n",
                element.getClassName(), element.getLineNumber(),
                element.getMethodName()));
          }
        }
        traceNum++;
      }
      return new MultiRuntimeException(msgBuilder.toString(), sources.iterator()
          .next());
    }
focal_method.class_method_signature: MultiRuntimeException.get(Collection<Throwable> sources)
focal_method.full_signature: public static MultiRuntimeException get(Collection<Throwable> sources)
focal_method.identifier: get
focal_method.invocations: size append append format append getName getClass append append getMessage append getStackTrace append format getClassName getLineNumber getMethodName toString next iterator
focal_method.modifiers: public static
focal_method.parameters: (Collection<Throwable> sources)
focal_method.return: MultiRuntimeException
focal_method.signature: MultiRuntimeException get(Collection<Throwable> sources)