Category: Language-Exceptions
Superclass: ArithmeticError
A ZeroDivide exception is raised by numeric classes when a program tries to divide by zero. Information on the dividend is available to the handler.

Method category index

instance creation (class)
accessing (instance)
description (instance)

instance creation (class)

dividend: aNumber
Create a new ZeroDivide object remembering that the dividend was aNumber.

new

Create a new ZeroDivide object; the dividend is conventionally set to zero.

top


accessing (instance)

dividend
Answer the number that was being divided by zero

top


description (instance)

description
Answer a textual description of the exception.

top