org.qi4j.api.util
Class NullArgumentException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.lang.RuntimeException
              extended by java.lang.IllegalArgumentException
                  extended by org.qi4j.api.util.NullArgumentException
All Implemented Interfaces:
Serializable

public class NullArgumentException
extends IllegalArgumentException

Thrown if an argument to a method was null, and the method required it to be non-null.

See Also:
Serialized Form

Method Summary
static void validateNotEmpty(String parameterName, String value)
           
static void validateNotNull(String parameterName, Object value)
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Method Detail

validateNotNull

public static void validateNotNull(String parameterName,
                                   Object value)

validateNotEmpty

public static void validateNotEmpty(String parameterName,
                                    String value)