ElementBoundsError.st
branchjv
changeset 20578 39641ba8d6e0
parent 17911 a99f15c5efa5
parent 20451 7abb4abef009
child 23547 c69c97cec351
equal deleted inserted replaced
20577:a27e7b3031cb 20578:39641ba8d6e0
       
     1 "{ Encoding: utf8 }"
       
     2 
     1 "
     3 "
     2  COPYRIGHT (c) 2001 by eXept Software AG
     4  COPYRIGHT (c) 2001 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 Error subclass:#ElementBoundsError
    16 "{ NameSpace: Smalltalk }"
       
    17 
       
    18 ExecutionError subclass:#ElementBoundsError
    15 	instanceVariableNames:''
    19 	instanceVariableNames:''
    16 	classVariableNames:''
    20 	classVariableNames:''
    17 	poolDictionaries:''
    21 	poolDictionaries:''
    18 	category:'Kernel-Exceptions-Errors'
    22 	category:'Kernel-Exceptions-Errors'
    19 !
    23 !
    48 
    52 
    49 initialize
    53 initialize
    50     NotifierString := 'element not appropriate or out of bounds'.
    54     NotifierString := 'element not appropriate or out of bounds'.
    51 ! !
    55 ! !
    52 
    56 
       
    57 !ElementBoundsError class methodsFor:'testing'!
       
    58 
       
    59 isProgramError
       
    60     "redefined in all exceptions which are programmer's errors,
       
    61      and which should probably not be ignored.
       
    62      I.e. a global error handler should reject and let a debugger get control."
       
    63 
       
    64     ^ true
       
    65 ! !
       
    66 
    53 !ElementBoundsError class methodsFor:'documentation'!
    67 !ElementBoundsError class methodsFor:'documentation'!
    54 
    68 
    55 version
    69 version
    56     ^ '$Header: /cvs/stx/stx/libbasic/ElementBoundsError.st,v 1.1 2004/04/23 11:16:20 stefan Exp $'
    70     ^ '$Header$'
    57 !
    71 !
    58 
    72 
    59 version_SVN
    73 version_SVN
    60     ^ '$Id: ElementBoundsError.st 10761 2012-01-19 11:46:00Z vranyj1 $'
    74     ^ '$Id: ElementBoundsError.st 10761 2012-01-19 11:46:00Z vranyj1 $'
    61 ! !
    75 ! !
    62 
    76 
       
    77 
    63 ElementBoundsError initialize!
    78 ElementBoundsError initialize!
    64 
    79 
    65 
    80 
    66 
    81