public class ValidationException extends java.lang.RuntimeException implements CleanableFailure
IllegalArgumentException
which is raised when an
argument value is always invalid.
A ValidationException will cause the operation to abort.
For example, this is thrown when attempting to create a table with a PartitionSpec
that is not compatible with the table Schema
Constructor and Description |
---|
ValidationException(java.lang.String message,
java.lang.Object... args) |
ValidationException(java.lang.Throwable cause,
java.lang.String message,
java.lang.Object... args) |
Modifier and Type | Method and Description |
---|---|
static void |
check(boolean test,
java.lang.String message,
java.lang.Object... args) |