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. |
getRootCauseaddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringCopyright © 1997-2017 Pivotal Software, Inc. All rights reserved.