GemFire 6.6

com.gemstone.gemfire
Class ToDataException

java.lang.Object
  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.GemFireIOException
                      extended by com.gemstone.gemfire.SerializationException
                          extended by com.gemstone.gemfire.ToDataException
All Implemented Interfaces:
Serializable

public class ToDataException
extends SerializationException

A ToDataException is thrown during serialization if DataSerializable.toData(java.io.DataOutput) throws an exception or if DataSerializer.toData(java.lang.Object, java.io.DataOutput) is called and returns false.

Since:
6.5
See Also:
Serialized Form

Constructor Summary
ToDataException(String message)
          Creates a new ToDataException with the given message
ToDataException(String message, Throwable cause)
          Creates a new ToDataException with the given message and cause.
 
Method Summary
 
Methods inherited from class com.gemstone.gemfire.GemFireException
getRootCause
 
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

ToDataException

public ToDataException(String message)
Creates a new ToDataException with the given message


ToDataException

public ToDataException(String message,
                       Throwable cause)
Creates a new ToDataException with the given message and cause.


GemFire 6.6

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