org.znerd.util
Class Preconditions
java.lang.Object
org.znerd.util.Preconditions
public class Preconditions
- extends Object
|
Method Summary |
static void |
checkArgument(boolean conditionThatSignalsAnError,
String errorMessage)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
checkArgument
public static void checkArgument(boolean conditionThatSignalsAnError,
String errorMessage)
throws IllegalArgumentException
- Throws:
IllegalArgumentException
Copyright © 2011-2013. All Rights Reserved.