net.sf.composite.util
Class Assert

java.lang.Object
  extended by net.sf.composite.util.Assert

public abstract class Assert
extends java.lang.Object

Assertions useful in the implementation of method argument checking.

Since:
Apr 18, 2005
Author:
Matt Sgarlata

Constructor Summary
Assert()
           
 
Method Summary
static void notEmpty(java.lang.Object object, java.lang.String parameterName)
           
static void notNull(java.lang.Object object, java.lang.String parameterName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Assert

public Assert()
Method Detail

notNull

public static void notNull(java.lang.Object object,
                           java.lang.String parameterName)

notEmpty

public static void notEmpty(java.lang.Object object,
                            java.lang.String parameterName)


Copyright © 2005-2008.