org.qi4j.api.util

## Class NullArgumentException

- java.lang.Object
- - java.lang.Throwable
  - - java.lang.Exception
    - - java.lang.RuntimeException
      - - java.lang.IllegalArgumentException
        - - 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

    Methods
    Modifier and Type | Method and Description
    --- | ---
    `static void` | `validateNotEmpty(String parameterName, String value)`
    `static void` | `validateNotNull(String parameterName, Object value)`

    - ### Methods inherited from class java.lang.Throwable

      `addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, 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)