public class RecordException extends RuntimeException
| Constructor and Description |
|---|
RecordException(String message) |
RecordException(String message,
Throwable cause) |
| Modifier and Type | Method and Description |
|---|---|
static void |
check(boolean isValid,
String message,
Object... args)
Precondition-style validation that throws a
RecordException. |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toStringpublic RecordException(String message)
public static void check(boolean isValid,
String message,
Object... args)
RecordException.isValid - true if valid, false if an exception should be
thrownmessage - A String message for the exception.args - Args to fill into the message using String.formatCopyright © 2020 The Apache Software Foundation. All rights reserved.