public class ValidationFailure extends IOException
| Constructor and Description |
|---|
ValidationFailure(String message,
Object... args)
Create an instance with string formatting applied to the message
and arguments.
|
| Modifier and Type | Method and Description |
|---|---|
static void |
verify(boolean expression,
String message,
Object... args)
Verify that a condition holds.
|
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic static void verify(boolean expression,
String message,
Object... args)
throws ValidationFailure
expression - expression which must be truemessage - message to raise on a failureargs - arguments for the message formattingValidationFailure - on a failureCopyright © 2008–2021 Apache Software Foundation. All rights reserved.