Class NotStrictlyPositiveException

All Implemented Interfaces:
java.io.Serializable, ExceptionContextProvider

public class NotStrictlyPositiveException
extends NumberIsTooSmallException
Exception to be thrown when the argument is not greater than 0.
Since:
2.2
See Also:
Serialized Form
  • Constructor Details

    • NotStrictlyPositiveException

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

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