lima.validation
Class Validator

java.lang.Object
  |
  +--lima.validation.Validator

public class Validator
extends java.lang.Object

A class that provides functionality for conveniently validating method arguments, at the point of method entry, to assist with highlighting common argument-passing errors as they occur.


Constructor Summary
Validator()
           
 
Method Summary
static void validate(java.lang.Object toValidate)
          Validates the specified object, to determine whether or not it contains one or more null references.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Validator

public Validator()
Method Detail

validate

public static void validate(java.lang.Object toValidate)
                     throws java.lang.IllegalArgumentException
Validates the specified object, to determine whether or not it contains one or more null references. If a null reference is discoved, then a new IllegalArgumentException is thrown.

Parameters:
toValidate - - the object that must be validated.
java.lang.IllegalArgumentException