Class NullArgumentException

All Implemented Interfaces:
Serializable

public class NullArgumentException extends IllegalArgumentException
Indicates that an argument that must be non-null was null.
Since:
2.3.20
See Also:
Serialized Form
  • Constructor Details

    • NullArgumentException

      public NullArgumentException()
    • NullArgumentException

      public NullArgumentException(String argumentName)
    • NullArgumentException

      public NullArgumentException(String argumentName, String details)
  • Method Details

    • check

      public static void check(String argumentName, Object argumentValue)
      Convenience method to protect against a null argument.
    • check

      public static void check(Object argumentValue)
      Since:
      2.3.22