|
|
6.183 ZeroDivide
- Defined in namespace Smalltalk
- Category: Language-Exceptions
- 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.
6.183.1 ZeroDivide class: instance creation
- 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.
6.183.2 ZeroDivide: accessing
- dividend
- Answer the number that was being divided by zero
6.183.3 ZeroDivide: description
- description
- Answer a textual description of the exception.
|