Class DivideByZeroException

  • All Implemented Interfaces:
    java.io.Serializable

    public class DivideByZeroException
    extends EvaluateException
    Expression exception raised when a value is divided by zero.
    Since:
    3.6
    See Also:
    Serialized Form
    • Constructor Detail

      • DivideByZeroException

        public DivideByZeroException​(java.lang.String messageId,
                                     java.lang.Object[] params)
        Constructor. The messageId is not localized, resource bundle will be used to translate the message.
        Parameters:
        messageId - message key in resource bundle whose value can contain parameters {n}.
        params - an array of parameter values
      • DivideByZeroException

        public DivideByZeroException​(java.lang.String message)
        Constructor with a localized message.
        Parameters:
        message - a localized message. Resource bundle will not be used.
      • DivideByZeroException

        public DivideByZeroException​(java.lang.Throwable t)
        Constructor with a wrapped Throwable.
        Parameters:
        t - a Throwable