Package org.apache.geode
Class ToDataException
- All Implemented Interfaces:
Serializable
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:
- GemFire 6.5
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionToDataException(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
getRootCauseMethods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
ToDataException
Creates a newToDataExceptionwith the given message- Parameters:
message- the detail message
-
ToDataException
Creates a newToDataExceptionwith the given message and cause.- Parameters:
message- the detail messagecause- the cause
-