Class EmptyArgumentException

All Implemented Interfaces:
Serializable

@ClassVersion(sourceVersion="$Id: EmptyArgumentException.java 820 2020-12-29 20:34:22Z tquadrat $") @API(status=STABLE, since="0.0.5") public final class EmptyArgumentException extends NullArgumentException
This is a specialized implementation for the IllegalArgumentException that should be used instead of the latter in cases where an empty String, array or Collection argument is provided as an illegal argument value.
Author:
Thomas Thrien (thomas.thrien@tquadrat.org)
Version:
$Id: EmptyArgumentException.java 820 2020-12-29 20:34:22Z tquadrat $
Since:
0.0.5
See Also:
UML Diagram
UML Diagram for "org.tquadrat.foundation.exception.EmptyArgumentException"

UML Diagram for "org.tquadrat.foundation.exception.EmptyArgumentException"

UML Diagram for "org.tquadrat.foundation.exception.EmptyArgumentException"
  • Constructor Details

    • EmptyArgumentException

      Creates a new instance of EmptyArgumentException.
    • EmptyArgumentException

      public EmptyArgumentException(String argName)
      Creates a new instance of EmptyArgumentException.
      Parameters:
      argName - The name of the argument whose value was provided as empty; if null or the empty String, a default message is used that does not use the name of the argument.