Class NotStrictlyPositiveException

All Implemented Interfaces:
Serializable, MathThrowable

public class NotStrictlyPositiveException extends NumberIsTooSmallException
Exception to be thrown when the argument is negative.
Since:
2.2
See Also:
  • Constructor Details

    • NotStrictlyPositiveException

      public NotStrictlyPositiveException(Number value)
      Construct the exception.
      Parameters:
      value - Argument.
    • NotStrictlyPositiveException

      public NotStrictlyPositiveException(Localizable specific, Number value)
      Construct the exception with a specific context.
      Parameters:
      specific - Specific context where the error occurred.
      value - Argument.