DivideByZeroException
classin packageklyn
public class DivideByZeroException extends ZeroDivisionError:
└ DivideByZeroException

Compatibility exception raised when an operation explicitly reports a division by zero.

ZeroDivisionError remains the standard runtime arithmetic error. This subclass lets APIs that historically exposed DivideByZeroException keep their public contract while preserving catch compatibility with ZeroDivisionError.

Properties inherited from Exception: message
Properties inherited from Object: type
Constructors
Modifier and Type Member Description
public DivideByZeroException
DivideByZeroException(message as String = "Division by zero"):
Creates a division-by-zero exception.
Methods inherited from UncheckedException: toString
Methods inherited from Exception: toString
Methods inherited from Object: fromJson, toDict, toJson, toString, toXml