author | HG Automerge |
Tue, 10 Jan 2017 13:26:39 +0000 | |
branch | jv |
changeset 21251 | 32f12bea6608 |
parent 20578 | 39641ba8d6e0 |
child 23547 | c69c97cec351 |
permissions | -rw-r--r-- |
20451 | 1 |
"{ Encoding: utf8 }" |
2 |
||
8327 | 3 |
" |
4 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
5 |
All Rights Reserved |
|
6 |
||
7 |
This software is furnished under a license and may be used |
|
8 |
only in accordance with the terms of that license and with the |
|
9 |
inclusion of the above copyright notice. This software may not |
|
10 |
be provided or otherwise made available to, or used by, any |
|
11 |
other person. No title to or ownership of the software is |
|
12 |
hereby transferred. |
|
13 |
" |
|
14 |
"{ Package: 'stx:libbasic' }" |
|
15 |
||
20451 | 16 |
"{ NameSpace: Smalltalk }" |
17 |
||
18 |
ExecutionError subclass:#ElementBoundsError |
|
8327 | 19 |
instanceVariableNames:'' |
20 |
classVariableNames:'' |
|
21 |
poolDictionaries:'' |
|
22 |
category:'Kernel-Exceptions-Errors' |
|
23 |
! |
|
24 |
||
25 |
!ElementBoundsError class methodsFor:'documentation'! |
|
26 |
||
27 |
copyright |
|
28 |
" |
|
29 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
30 |
All Rights Reserved |
|
31 |
||
32 |
This software is furnished under a license and may be used |
|
33 |
only in accordance with the terms of that license and with the |
|
34 |
inclusion of the above copyright notice. This software may not |
|
35 |
be provided or otherwise made available to, or used by, any |
|
36 |
other person. No title to or ownership of the software is |
|
37 |
hereby transferred. |
|
38 |
" |
|
39 |
! |
|
40 |
||
41 |
documentation |
|
42 |
" |
|
43 |
ElementBoundsError is raised to report an error that anElement is out of bounds |
|
44 |
(e.g. cannot be put into a collection). |
|
45 |
||
46 |
Instance Variables: |
|
47 |
parameter - the element that is out of bounds. |
|
48 |
" |
|
49 |
! ! |
|
50 |
||
51 |
!ElementBoundsError class methodsFor:'initialization'! |
|
52 |
||
53 |
initialize |
|
54 |
NotifierString := 'element not appropriate or out of bounds'. |
|
55 |
! ! |
|
56 |
||
20451 | 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 |
||
8327 | 67 |
!ElementBoundsError class methodsFor:'documentation'! |
68 |
||
69 |
version |
|
20451 | 70 |
^ '$Header$' |
17761
b0e5971141bc
Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17711
diff
changeset
|
71 |
! |
b0e5971141bc
Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17711
diff
changeset
|
72 |
|
b0e5971141bc
Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents:
17711
diff
changeset
|
73 |
version_SVN |
17911 | 74 |
^ '$Id: ElementBoundsError.st 10761 2012-01-19 11:46:00Z vranyj1 $' |
8327 | 75 |
! ! |
76 |
||
20451 | 77 |
|
8327 | 78 |
ElementBoundsError initialize! |
17892 | 79 |
|
17910 | 80 |
|
17911 | 81 |