public class ToDataException extends SerializationException
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.Constructor and Description |
---|
ToDataException(java.lang.String message)
Creates a new
ToDataException with the given message |
ToDataException(java.lang.String message,
java.lang.Throwable cause)
Creates a new
ToDataException with the given message
and cause. |
getRootCause