|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.parboiled.support.Checks
public final class Checks
Utility methods for grammar integrity checks.
| Method Summary | |
|---|---|
static void |
ensure(boolean condition,
java.lang.String errorMessage)
Throws a GrammarException if the given condition is not met. |
static void |
ensure(boolean condition,
java.lang.String errorMessageFormat,
java.lang.Object... errorMessageArgs)
Throws a GrammarException if the given condition is not met. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Method Detail |
|---|
public static void ensure(boolean condition,
java.lang.String errorMessageFormat,
java.lang.Object... errorMessageArgs)
condition - the conditionerrorMessageFormat - the error message formaterrorMessageArgs - the error message arguments
public static void ensure(boolean condition,
java.lang.String errorMessage)
condition - the conditionerrorMessage - the error message
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||