public static JdbcConnectorException createException(String message, Exception e) {
    if (containsNonSerializableException(e)) {
      message += e.getMessage() + System.lineSeparator() + ExceptionUtils.getStackTrace(e);
      return new JdbcConnectorException(message);
    } else {
      return new JdbcConnectorException(message, e);
    }
  }
Create a new JdbcConnectorException by first checking to see if the causing exception is or
contains an exception that potentially could not be deserialized by remote systems receiving
the serialized exception.

@param message message of this Exception
@param e cause of this Exception
@return a new JdbcConnectorException containing either the causing exception, if it can be
        serialized/deserialized by Geode, or containing the causing exception stack trace in
        its message if not
geode-connectors/src/main/java/org/apache/geode/connectors/jdbc/JdbcConnectorException.java