VMware GemFire Java API Reference
Package org.apache.geode
Class ToDataException
-
- All Implemented Interfaces:
Serializable
public class ToDataException extends SerializationException
AToDataExceptionis thrown during serialization ifDataSerializable.toData(java.io.DataOutput)throws an exception or ifDataSerializer.toData(java.lang.Object, java.io.DataOutput)is called and returns false.- Since:
- GemFire 6.5
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ToDataException(String message)Creates a newToDataExceptionwith the given messageToDataException(String message, Throwable cause)Creates a newToDataExceptionwith the given message and cause.
-
Method Summary
-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
-
-
Constructor Detail
-
ToDataException
public ToDataException(String message)
Creates a newToDataExceptionwith the given message- Parameters:
message- the detail message
-
-