@Deprecated
  public Throwable getThrowable() {
    if (isSuccessful()) {
      return null;
    }
    return ((Throwable) resultObject);
  }
This can be removed once all commands are using ResultModel.
geode-core/src/main/java/org/apache/geode/management/internal/functions/CliFunctionResult.java