com.gargoylesoftware.htmlunit
Class Assert
java.lang.Object
com.gargoylesoftware.htmlunit.Assert
public final class Assert
- extends Object
Utility methods for performing runtime assertions.
- Version:
- $Revision: 2132 $
- Author:
- Mike Bowler
Method Summary |
static void |
notNull(String description,
Object object)
Assert that the specified parameter is not null. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
notNull
public static void notNull(String description,
Object object)
- Assert that the specified parameter is not null. Throw a NullPointerException
if a null is found.
- Parameters:
description
- The description to pass into the NullPointerExceptionobject
- The object to check for null.
Copyright © 2002-2010 Gargoyle Software Inc.. All Rights Reserved.