@Override
    public void fromData(DataInput in) throws IOException, ClassNotFoundException {
      throw new RuntimeException("deserialization is not allowed on this class");
    }
This class can be serialized but its deserialization will always fail
geode-core/src/distributedTest/java/org/apache/geode/internal/cache/execute/PRClientServerRegionFunctionExecutionDUnitTest.java