Class NullArgumentException

All Implemented Interfaces:
Serializable

public class NullArgumentException extends IllegalArgumentException
The NullArgumentException is a special IllegalArgumentException that must be thrown when a parameter is null and it is not allowed to be.
Author:
Patrick Schmidt
See Also:
  • Constructor Details

    • NullArgumentException

      public NullArgumentException()
      Constructs a new NullArgumentException with null as detail message.
    • NullArgumentException

      public NullArgumentException(String message)
      Constructs a new NullArgumentException with the specified detail message.
      Parameters:
      message - the detail message
    • NullArgumentException

      public NullArgumentException(String message, Throwable cause)
      Constructs a new NullArgumentException with the specified detail message and cause.
      Parameters:
      message - the detail message
      cause - the cause of this exception
    • NullArgumentException

      public NullArgumentException(Throwable cause)
      Constructs a new NullArgumentException with null as detail message and the given cause.
      Parameters:
      cause - the cause of this exception