Back: WriteStream-positioning
Up: Class reference
Forward: ZeroDivide class-instance creation
 
Top: GNU Smalltalk User's Guide
Contents: Table of Contents
Index: Class index
About: About this document

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  (class)
6.183.2 ZeroDivide: accessing  (instance)
6.183.3 ZeroDivide: description  (instance)


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.




This document was generated on May, 12 2002 using texi2html