public class PdxTestVersionHelper extends Object
| Constructor and Description |
|---|
PdxTestVersionHelper() |
| Modifier and Type | Method and Description |
|---|---|
static void |
doEnumValidation(com.gemstone.gemfire.pdx.PdxInstance pdxInst) |
static void |
handleException(RuntimeException e)
If pdxReadSerialized is false, then allow the given
Exception if it is the last of a chain of caused by's starting with
a top level exception of SerializationException
or ServerOperationException and ending with a ClassNotFoundException.
|
static com.gemstone.gemfire.pdx.PdxSerializer |
instantiatePdxSerializer()
Method used by hydra to return a properly configured instance of PdxSerializer
|
static Object |
toBaseObject(Object anObj)
Given an object that can be a PdxInstance, return either the object or
the base object represented by the PdxInstance.
|
public static void handleException(RuntimeException e)
e - The exception to check.public static Object toBaseObject(Object anObj)
anObj - The object that could be a PdxInstancepublic static com.gemstone.gemfire.pdx.PdxSerializer instantiatePdxSerializer()
public static void doEnumValidation(com.gemstone.gemfire.pdx.PdxInstance pdxInst)
throws TestException
TestExceptionCopyright © 2010-2015 Pivotal Software, Inc. All rights reserved.