@Override
    protected Object processResponse(final @NotNull Message msg) throws Exception {
      Part part = msg.getPart(0);
      MessageType msgType = msg.getMessageType();
      if (msgType == MessageType.RESPONSE) {
        return part.getObject();

      } else {
        if (msgType == MessageType.EXCEPTION) {
          String s = "While performing a remote " + "getPdxTypes";
          throw new ServerOperationException(s, (Throwable) part.getObject());

        } else if (isErrorResponse(msgType)) {
          throw new ServerOperationException(part.getString());

        } else {
          throw new InternalGemFireError(
              "Unexpected message type " + msgType);
        }
      }
    }
Retrieve all known PDX types.

@since GemFire 7.0
geode-core/src/main/java/org/apache/geode/cache/client/internal/GetPDXTypesOp.java