public class IllegalGuardedBy extends RuntimeException
Constructor and Description |
---|
IllegalGuardedBy(String message) |
Modifier and Type | Method and Description |
---|---|
static void |
checkGuardedBy(boolean condition,
String message)
Throws an
IllegalGuardedBy exception if the given condition is false. |
static void |
checkGuardedBy(boolean condition,
String formatString,
Object... formatArgs)
Throws an
IllegalGuardedBy exception if the given condition is false. |
String |
toString() |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
public IllegalGuardedBy(String message)
public static void checkGuardedBy(boolean condition, String message)
IllegalGuardedBy
exception if the given condition is false.public static void checkGuardedBy(boolean condition, String formatString, Object... formatArgs)
IllegalGuardedBy
exception if the given condition is false.Copyright © 2019. All rights reserved.