author | Jan Vrany <jan.vrany@labware.com> |
Wed, 03 Feb 2021 11:52:30 +0000 | |
branch | jv |
changeset 25410 | c91ea94445d1 |
parent 23547 | c69c97cec351 |
permissions | -rw-r--r-- |
8327 | 1 |
" |
2 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
12 |
"{ Package: 'stx:libbasic' }" |
|
13 |
||
20451 | 14 |
"{ NameSpace: Smalltalk }" |
15 |
||
16 |
ExecutionError subclass:#ElementBoundsError |
|
8327 | 17 |
instanceVariableNames:'' |
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
20 |
category:'Kernel-Exceptions-Errors' |
|
21 |
! |
|
22 |
||
23 |
!ElementBoundsError class methodsFor:'documentation'! |
|
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! |
|
38 |
||
39 |
documentation |
|
40 |
" |
|
41 |
ElementBoundsError is raised to report an error that anElement is out of bounds |
|
42 |
(e.g. cannot be put into a collection). |
|
43 |
||
44 |
Instance Variables: |
|
45 |
parameter - the element that is out of bounds. |
|
46 |
" |
|
47 |
! ! |
|
48 |
||
49 |
!ElementBoundsError class methodsFor:'initialization'! |
|
50 |
||
51 |
initialize |
|
52 |
NotifierString := 'element not appropriate or out of bounds'. |
|
53 |
! ! |
|
54 |
||
20451 | 55 |
!ElementBoundsError class methodsFor:'testing'! |
56 |
||
57 |
isProgramError |
|
58 |
"redefined in all exceptions which are programmer's errors, |
|
59 |
and which should probably not be ignored. |
|
60 |
I.e. a global error handler should reject and let a debugger get control." |
|
61 |
||
62 |
^ true |
|
63 |
! ! |
|
64 |
||
8327 | 65 |
!ElementBoundsError class methodsFor:'documentation'! |
66 |
||
67 |
version |
|
20451 | 68 |
^ '$Header$' |
17761
b0e5971141bc
Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17711
diff
changeset
|
69 |
! |
b0e5971141bc
Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17711
diff
changeset
|
70 |
|
b0e5971141bc
Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17711
diff
changeset
|
71 |
version_SVN |
17911 | 72 |
^ '$Id: ElementBoundsError.st 10761 2012-01-19 11:46:00Z vranyj1 $' |
8327 | 73 |
! ! |
74 |
||
20451 | 75 |
|
8327 | 76 |
ElementBoundsError initialize! |
17892 | 77 |
|
17910 | 78 |
|
17911 | 79 |