| Modifier and Type | Field and Description |
|---|---|
static String |
MSG_INTENTIONAL |
| Constructor and Description |
|---|
Err() |
| Modifier and Type | Method and Description |
|---|---|
static void |
argMust(boolean expectedCondition,
String message,
Object... args) |
static void |
bounds(int value,
int min,
int max) |
static IllegalArgumentException |
illegalArg(String message,
Object... args) |
static RuntimeException |
intentional() |
static RuntimeException |
notExpected() |
static RuntimeException |
notReady() |
static RuntimeException |
notSupported() |
static void |
rteIf(boolean failureCondition,
String msg) |
static void |
secure(boolean condition,
String msg) |
static void |
secure(boolean condition,
String msg,
Object arg) |
static void |
secure(boolean condition,
String msg,
Object arg1,
Object arg2) |
public static final String MSG_INTENTIONAL
public static RuntimeException notExpected()
public static RuntimeException notReady()
public static RuntimeException notSupported()
public static void rteIf(boolean failureCondition,
String msg)
public static IllegalArgumentException illegalArg(String message, Object... args)
public static void secure(boolean condition,
String msg)
public static void bounds(int value,
int min,
int max)
public static RuntimeException intentional()
Copyright © 2014–2016 Nikolche Mihajlovski and contributors. All rights reserved.