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.

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