ArithmeticError.st
changeset 20446 a1de1ff6cddd
parent 14873 299531a3c932
child 20578 39641ba8d6e0
equal deleted inserted replaced
20445:2f93befb3416 20446:a1de1ff6cddd
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "
     3 "
     2  COPYRIGHT (c) 2005 by eXept Software AG
     4  COPYRIGHT (c) 2005 by eXept Software AG
     3               All Rights Reserved
     5               All Rights Reserved
     4 
     6 
     5  This software is furnished under a license and may be used
     7  This software is furnished under a license and may be used
     9  other person.  No title to or ownership of the software is
    11  other person.  No title to or ownership of the software is
    10  hereby transferred.
    12  hereby transferred.
    11 "
    13 "
    12 "{ Package: 'stx:libbasic' }"
    14 "{ Package: 'stx:libbasic' }"
    13 
    15 
    14 ProceedableError subclass:#ArithmeticError
    16 "{ NameSpace: Smalltalk }"
       
    17 
       
    18 ExecutionError subclass:#ArithmeticError
    15 	instanceVariableNames:''
    19 	instanceVariableNames:''
    16 	classVariableNames:''
    20 	classVariableNames:''
    17 	poolDictionaries:''
    21 	poolDictionaries:''
    18 	category:'Kernel-Exceptions-Errors'
    22 	category:'Kernel-Exceptions-Errors'
    19 !
    23 !
    38 "
    42 "
    39      common superclass for all arithmetic errors.
    43      common superclass for all arithmetic errors.
    40 "
    44 "
    41 ! !
    45 ! !
    42 
    46 
       
    47 !ArithmeticError class methodsFor:'testing'!
       
    48 
       
    49 isProgramError
       
    50     "redefined in all exceptions which are programmer's errors,
       
    51      and which should probably not be ignored.
       
    52      I.e. a global error handler should reject and let a debugger get control."
       
    53 
       
    54     ^ true
       
    55 ! !
       
    56 
    43 !ArithmeticError class methodsFor:'documentation'!
    57 !ArithmeticError class methodsFor:'documentation'!
    44 
    58 
    45 version
    59 version
    46     ^ '$Header: /cvs/stx/stx/libbasic/ArithmeticError.st,v 1.8 2013-03-13 23:44:07 cg Exp $'
    60     ^ '$Header$'
    47 ! !
    61 ! !
    48 
    62