private void sendException(Exception e, FunctionContext fc) {
    if (logger.isDebugEnabled()) {
      logger.debug("Management Function Could Not Be Executed", e);
    }
    fc.getResultSender().sendException(e);
  }
Actual function execution. It delegates task at managed node according to the request received.

If any exception is encountered it will set the result to UNDEFINED
geode-core/src/main/java/org/apache/geode/management/internal/ManagementFunction.java