org.znerd.util
Class Preconditions

java.lang.Object
  extended by org.znerd.util.Preconditions

public class Preconditions
extends Object


Method Summary
static void checkArgument(boolean cond, String errorMessage)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

checkArgument

public static void checkArgument(boolean cond,
                                 String errorMessage)
                          throws IllegalArgumentException
Throws:
IllegalArgumentException


Copyright © 2011-2012. All Rights Reserved.