author | Stefan Vogel <sv@exept.de> |
Thu, 16 Apr 2020 16:54:50 +0200 | |
changeset 25361 | 4ea026855e31 |
parent 19208 | c2baf5093dcf |
child 19227 | 5e949760a4e8 |
permissions | -rw-r--r-- |
4466
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
1 |
" |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
2 |
COPYRIGHT (c) 1999 by eXept Software AG |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
3 |
All Rights Reserved |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
4 |
|
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
5 |
This software is furnished under a license and may be used |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
6 |
only in accordance with the terms of that license and with the |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
7 |
inclusion of the above copyright notice. This software may not |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
8 |
be provided or otherwise made available to, or used by, any |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
9 |
other person. No title to or ownership of the software is |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
10 |
hereby transferred. |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
11 |
" |
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
4541
diff
changeset
|
12 |
"{ Package: 'stx:libbasic' }" |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
4541
diff
changeset
|
13 |
|
19208
c2baf5093dcf
comment/format in: #iconInBrowserSymbol
Claus Gittinger <cg@exept.de>
parents:
13133
diff
changeset
|
14 |
"{ NameSpace: Smalltalk }" |
c2baf5093dcf
comment/format in: #iconInBrowserSymbol
Claus Gittinger <cg@exept.de>
parents:
13133
diff
changeset
|
15 |
|
4444 | 16 |
Exception subclass:#Error |
17 |
instanceVariableNames:'' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
4541
diff
changeset
|
20 |
category:'Kernel-Exceptions-Errors' |
4444 | 21 |
! |
22 |
||
23 |
!Error class methodsFor:'documentation'! |
|
24 |
||
4466
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
25 |
copyright |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
26 |
" |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
27 |
COPYRIGHT (c) 1999 by eXept Software AG |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
28 |
All Rights Reserved |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
29 |
|
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
30 |
This software is furnished under a license and may be used |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
31 |
only in accordance with the terms of that license and with the |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
32 |
inclusion of the above copyright notice. This software may not |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
33 |
be provided or otherwise made available to, or used by, any |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
34 |
other person. No title to or ownership of the software is |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
35 |
hereby transferred. |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
36 |
" |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
37 |
|
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
38 |
! |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
39 |
|
4444 | 40 |
documentation |
41 |
" |
|
4516 | 42 |
Error is the superclass and parent of all error exceptions in the system |
4444 | 43 |
|
44 |
[author:] |
|
45 |
Stefan Vogel |
|
46 |
||
47 |
[see also:] |
|
48 |
Signal |
|
49 |
" |
|
50 |
! ! |
|
51 |
||
4516 | 52 |
!Error class methodsFor:'initialization'! |
53 |
||
54 |
initialize |
|
55 |
NotifierString := 'error encountered'. |
|
56 |
||
13133 | 57 |
"Created: / 04-08-1999 / 08:48:18 / stefan" |
58 |
"Modified: / 17-11-2010 / 17:53:07 / cg" |
|
4516 | 59 |
! ! |
60 |
||
12089 | 61 |
|
4444 | 62 |
!Error class methodsFor:'queries'! |
63 |
||
64 |
mayProceed |
|
65 |
"By default, errors do not allow to proceed. |
|
66 |
Subclasses may change this" |
|
67 |
||
8486 | 68 |
^ false |
4444 | 69 |
|
70 |
"Created: / 23.7.1999 / 14:52:26 / stefan" |
|
71 |
"Modified: / 23.7.1999 / 14:52:39 / stefan" |
|
72 |
! ! |
|
73 |
||
8065
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
74 |
!Error methodsFor:'testing'! |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
75 |
|
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
76 |
isError |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
77 |
^ true |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
78 |
! ! |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
79 |
|
4444 | 80 |
!Error class methodsFor:'documentation'! |
81 |
||
82 |
version |
|
19208
c2baf5093dcf
comment/format in: #iconInBrowserSymbol
Claus Gittinger <cg@exept.de>
parents:
13133
diff
changeset
|
83 |
^ '$Header$' |
12089 | 84 |
! |
85 |
||
86 |
version_CVS |
|
19208
c2baf5093dcf
comment/format in: #iconInBrowserSymbol
Claus Gittinger <cg@exept.de>
parents:
13133
diff
changeset
|
87 |
^ '$Header$' |
4444 | 88 |
! ! |
7586 | 89 |
|
19208
c2baf5093dcf
comment/format in: #iconInBrowserSymbol
Claus Gittinger <cg@exept.de>
parents:
13133
diff
changeset
|
90 |
|
4516 | 91 |
Error initialize! |