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(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. |
getRootCause
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
public ToDataException(String message)
ToDataException
with the given messagemessage
- the detail message