站内搜索: 请输入搜索关键词
当前页面: 在线文档首页 > JBOSS Portal 2.6 API 英文版文档

ParameterValidation - JBOSS Portal 2.6 API 英文版文档


org.jboss.portal.common.util
Class ParameterValidation

java.lang.Object
  extended byorg.jboss.portal.common.util.ParameterValidation

public class ParameterValidation
extends java.lang.Object

Since:
2.4 (May 31, 2006)
Version:
$Revision: 5451 $
Author:
Chris Laprun

Constructor Summary
ParameterValidation()
           
 
Method Summary
static void throwIllegalArgExceptionIfNull(java.lang.Object objectToTest, java.lang.String name)
           
static void throwIllegalArgExceptionIfNullOrEmpty(java.lang.Object[] array, java.lang.String name)
           
static void throwIllegalArgExceptionIfNullOrEmpty(java.lang.String valueToCheck, java.lang.String valueName, java.lang.String contextName)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ParameterValidation

public ParameterValidation()
Method Detail

throwIllegalArgExceptionIfNullOrEmpty

public static void throwIllegalArgExceptionIfNullOrEmpty(java.lang.String valueToCheck,
                                                         java.lang.String valueName,
                                                         java.lang.String contextName)

throwIllegalArgExceptionIfNull

public static void throwIllegalArgExceptionIfNull(java.lang.Object objectToTest,
                                                  java.lang.String name)

throwIllegalArgExceptionIfNullOrEmpty

public static void throwIllegalArgExceptionIfNullOrEmpty(java.lang.Object[] array,
                                                         java.lang.String name)
Since:
2.4.1