public class DatabaseUtil extends Object
| Modifier and Type | Field and Description |
|---|---|
static boolean |
TEST |
| Constructor and Description |
|---|
DatabaseUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkForNullDbt(DatabaseEntry entry,
String name,
boolean checkData)
Throw an exception if the entry is null or the data field is not set.
|
static void |
checkForNullParam(Object param,
String name)
Throw an exception if the parameter is null.
|
static void |
checkForPartial(DatabaseEntry entry,
String name)
Throw an exception if the entry has the partial flag set.
|
static void |
checkForZeroLengthArrayParam(Object[] param,
String name)
Throw an exception if the parameter is a null or 0-length array.
|
public static void checkForNullParam(Object param, String name)
IllegalArgumentException - via any API methodpublic static void checkForZeroLengthArrayParam(Object[] param, String name)
IllegalArgumentException - via any API methodpublic static void checkForNullDbt(DatabaseEntry entry, String name, boolean checkData)
IllegalArgumentException - via any API method that takes a
required DatabaseEntry parampublic static void checkForPartial(DatabaseEntry entry, String name)
Copyright © 2024. All rights reserved.