com.gargoylesoftware.htmlunit
Class Assert

java.lang.Object
  extended by com.gargoylesoftware.htmlunit.Assert

public final class Assert
extends java.lang.Object

Utility methods for performing runtime assertions.

Version:
$Revision: 1.3 $
Author:
Mike Bowler

Method Summary
static void notNull(java.lang.String description, java.lang.Object object)
 Assert that the specified parameter is not null.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

notNull

public static void notNull(java.lang.String description,
                           java.lang.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 NullPointerException
object - The object to check for null.


Copyright © 2003-2016 AppPerfect Corporation. All Rights Reserved.