public class DatasetRecordException extends DatasetException
When writing, this exception indicates that a record could not be written, but the writer is still valid and ready to write other records.
When reading, this exception indicates that a record could not be built from record data, but that reader is still valid and able to read other records.
| Constructor and Description |
|---|
DatasetRecordException(String message) |
DatasetRecordException(String message,
Throwable t) |
| Modifier and Type | Method and Description |
|---|---|
static void |
check(boolean isValid,
String message,
Object... args)
Precondition-style validation that throws a
DatasetRecordException. |
formataddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic DatasetRecordException(String message)
public static void check(boolean isValid,
String message,
Object... args)
DatasetRecordException.isValid - true if valid, false if an exception should be
thrownmessage - A String message for the exception.Copyright © 2013–2015. All rights reserved.