public class RecordFormatException
extends java.lang.RuntimeException
Constructor and Description |
---|
RecordFormatException(java.lang.String exception) |
RecordFormatException(java.lang.String exception,
java.lang.Throwable thr) |
RecordFormatException(java.lang.Throwable thr) |
Modifier and Type | Method and Description |
---|---|
static void |
check(boolean assertTrue,
java.lang.String message)
Syntactic sugar to check whether a RecordFormatException should
be thrown.
|
public RecordFormatException(java.lang.String exception)
public RecordFormatException(java.lang.String exception, java.lang.Throwable thr)
public RecordFormatException(java.lang.Throwable thr)
public static void check(boolean assertTrue, java.lang.String message)
false
, this will throw this
exception with the message.assertTrue
- If false, the exception is thrown, if true, no action is performedmessage
- The message to include in the thrown exceptionCopyright 2022 The Apache Software Foundation or its licensors, as applicable.