com.atlassian.greenhopper.util
Class ValidationUtils

java.lang.Object
  extended by com.atlassian.greenhopper.util.ValidationUtils

public class ValidationUtils
extends java.lang.Object

Extensions to Validate

Author:
ahennecke

Constructor Summary
ValidationUtils()
           
 
Method Summary
static void isNull(java.lang.Object o)
          Checks that the Object parameter is null and throws an IllegalArgumentException otherwise
static void isNull(java.lang.Object o, java.lang.String message)
          Checks that the Object parameter is null and throws an IllegalArgumentException otherwise, with the given message
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ValidationUtils

public ValidationUtils()
Method Detail

isNull

public static void isNull(java.lang.Object o)
Checks that the Object parameter is null and throws an IllegalArgumentException otherwise


isNull

public static void isNull(java.lang.Object o,
                          java.lang.String message)
Checks that the Object parameter is null and throws an IllegalArgumentException otherwise, with the given message



Copyright © 2007-2012 Atlassian. All Rights Reserved.