GemFire 6.6.3

Class PdxFieldTypeMismatchException

  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by com.gemstone.gemfire.GemFireException
                  extended by com.gemstone.gemfire.pdx.PdxFieldTypeMismatchException
All Implemented Interfaces:

public class PdxFieldTypeMismatchException
extends GemFireException

Thrown if the type of a PDX field was changed or the wrong type was used. PDX field types can not be changed. New fields can be added. Existing fields can be removed. But once a field is added its type can not be changed. The writeXXX methods on PdxWriter define the field type.

This exception can also be caused by setField trying to set a value whose type is not compatible with the field.

See Also:
Serialized Form

Constructor Summary
PdxFieldTypeMismatchException(String message)
          Constructs a new exception with the given message
Method Summary
Methods inherited from class com.gemstone.gemfire.GemFireException
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait

Constructor Detail


public PdxFieldTypeMismatchException(String message)
Constructs a new exception with the given message

message - the message of the new exception

GemFire 6.6.3

Copyright © 1997-2012 VMware, Inc. All rights reserved.