public class IncompatibleSchemaException extends ValidationException
Exception thrown when a schema update is not compatible with the previous schema (or schemas) or with existing datasets (if shared storage is used, for example).
| Constructor and Description |
|---|
IncompatibleSchemaException(String message) |
IncompatibleSchemaException(String message,
Throwable cause) |
IncompatibleSchemaException(Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static void |
check(boolean isValid,
String message,
Object... args)
Precondition-style validation that throws a
ValidationException. |
formataddSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic IncompatibleSchemaException(String message)
public IncompatibleSchemaException(Throwable cause)
public static void check(boolean isValid,
String message,
Object... args)
ValidationException.isValid - true if valid, false if an exception should be
thrownmessage - A String message for the exception.Copyright © 2013–2015. All rights reserved.