NonIntegerIndexError.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Wed, 13 Jun 2018 14:39:23 +0000
branchjv
changeset 23108 77cd6e1625e1
parent 20578 39641ba8d6e0
permissions -rw-r--r--
Merge
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
     1
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
     2
 COPYRIGHT (c) 2001 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
     3
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
     4
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
     5
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
     6
 only in accordance with the terms of that license and with the
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
     8
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
     9
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    10
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    11
"
5975
25a24298a177 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    12
"{ Package: 'stx:libbasic' }"
25a24298a177 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    13
20440
3a7637d80751 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15180
diff changeset
    14
"{ NameSpace: Smalltalk }"
3a7637d80751 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15180
diff changeset
    15
5975
25a24298a177 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
IndexNotFoundError subclass:#NonIntegerIndexError
18057
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15180
diff changeset
    17
    instanceVariableNames: ''
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15180
diff changeset
    18
    classVariableNames: ''
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15180
diff changeset
    19
    poolDictionaries: ''
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15180
diff changeset
    20
    category: 'Kernel-Exceptions-Errors'
5975
25a24298a177 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
25a24298a177 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
6210
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5975
diff changeset
    23
!NonIntegerIndexError class methodsFor:'documentation'!
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5975
diff changeset
    24
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    25
copyright
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    26
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    27
 COPYRIGHT (c) 2001 by eXept Software AG
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    28
              All Rights Reserved
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    29
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    30
 This software is furnished under a license and may be used
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    31
 only in accordance with the terms of that license and with the
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    33
 be provided or otherwise made available to, or used by, any
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    34
 other person.  No title to or ownership of the software is
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    35
 hereby transferred.
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    36
"
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    37
!
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    38
6210
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5975
diff changeset
    39
documentation
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5975
diff changeset
    40
"
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5975
diff changeset
    41
    raised when a non-integer index is used when accessing an 
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5975
diff changeset
    42
    arrayed collection.
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5975
diff changeset
    43
"
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5975
diff changeset
    44
! !
5975
25a24298a177 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    45
18057
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15180
diff changeset
    46
15180
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    47
!NonIntegerIndexError class methodsFor:'initialization'!
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    48
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    49
initialize
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    50
    NotifierString := 'index must be integer'.
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    51
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    52
    "
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    53
     self initialize
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    54
    "
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    55
! !
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    56
18057
8da7c39a6322 Merged ac63da6d9b6c and e58049d58d1d (branch default - CVS HEAD)
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17911 15180
diff changeset
    57
5975
25a24298a177 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    58
!NonIntegerIndexError class methodsFor:'documentation'!
25a24298a177 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    59
25a24298a177 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    60
version
20440
3a7637d80751 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 15180
diff changeset
    61
    ^ '$Header$'
17865
598963c6ff8e Recommited from itself
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17846
diff changeset
    62
!
598963c6ff8e Recommited from itself
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17846
diff changeset
    63
598963c6ff8e Recommited from itself
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17846
diff changeset
    64
version_SVN
17911
a99f15c5efa5 Updated with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17910
diff changeset
    65
    ^ '$Id: NonIntegerIndexError.st 10761 2012-01-19 11:46:00Z vranyj1 $'
5975
25a24298a177 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    66
! !
15180
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    67
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    68
33a5420b968d class: NonIntegerIndexError
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    69
NonIntegerIndexError initialize!