Gemfire JavaDocs_test
Package org.apache.geode
Class ToDataException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.apache.geode.GemFireException
-
- org.apache.geode.GemFireIOException
-
- org.apache.geode.SerializationException
-
- org.apache.geode.ToDataException
-
- All Implemented Interfaces:
java.io.Serializable
public class ToDataException extends SerializationException
AToDataException
is 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(java.lang.String message)
Creates a newToDataException
with the given messageToDataException(java.lang.String message, java.lang.Throwable cause)
Creates a newToDataException
with the given message and cause.
-
Method Summary
-
Methods inherited from class org.apache.geode.GemFireException
getRootCause
-
-
-
-
Constructor Detail
-
ToDataException
public ToDataException(java.lang.String message)
Creates a newToDataException
with the given message- Parameters:
message
- the detail message
-
ToDataException
public ToDataException(java.lang.String message, java.lang.Throwable cause)
Creates a newToDataException
with the given message and cause.- Parameters:
message
- the detail messagecause
- the cause
-
-