Class ArgumentNullException

All Implemented Interfaces:
Serializable

public class ArgumentNullException extends IllegalArgumentException
Thrown when an explicit null check fails for a method argument.

Note: the exception is named "Argument..." instead of "Parameter..." for consistency with IllegalArgumentException, which it extends.
See Also:
  • Constructor Details

    • ArgumentNullException

      public ArgumentNullException(String argumentName)