Class MathException.NegativeException

  • All Implemented Interfaces:
    Serializable
    Enclosing class:
    MathException


    public static class MathException.NegativeException
    extends MathException
    An exception used when an operand or calculation involves a negative number and it shouldn't.
    See Also:
    Serialized Form
    • Constructor Detail

      • NegativeException

        protected NegativeException()
      • NegativeException

        protected NegativeException(String message,
                                    Throwable cause,
                                    boolean enableSuppression,
                                    boolean writableStackTrace)
      • NegativeException

        protected NegativeException(String message,
                                    Throwable cause)
      • NegativeException

        protected NegativeException(String message)
      • NegativeException

        protected NegativeException(Throwable cause)