net.sf.beep4j.internal.util
Class Assert

java.lang.Object
  extended by net.sf.beep4j.internal.util.Assert

public final class Assert
extends java.lang.Object


Method Summary
static void notNull(java.lang.String name, java.lang.Object value)
          Asserts that the given value is not null.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

notNull

public static final void notNull(java.lang.String name,
                                 java.lang.Object value)
Asserts that the given value is not null. Throws an IllegalArgumentException if the value is null.

Parameters:
name - the name of the value (e.g. a parameter name)
value - the value that must be null


Copyright © 2007 null. All Rights Reserved.