public void addException(Throwable cause) {
    Assert.assertTrue(cause != null, "unexpected null exception to add to FunctionException");
    getExceptions().add(cause);
  }
Adds exceptions thrown from different nodes to a ds

@param cause The exception to add
@since GemFire 6.5
geode-core/src/main/java/org/apache/geode/cache/execute/FunctionException.java