author | Stefan Vogel <sv@exept.de> |
Mon, 22 Jun 2015 11:33:37 +0200 | |
branch | expecco_2_7_5_branch |
changeset 18499 | b132ac7c9d6a |
parent 13133 | ebdaac05b6ed |
child 18011 | deb0c3355881 |
child 19208 | c2baf5093dcf |
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 |
|
4444 | 14 |
Exception subclass:#Error |
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
4541
diff
changeset
|
18 |
category:'Kernel-Exceptions-Errors' |
4444 | 19 |
! |
20 |
||
21 |
!Error class methodsFor:'documentation'! |
|
22 |
||
4466
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
23 |
copyright |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
24 |
" |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
25 |
COPYRIGHT (c) 1999 by eXept Software AG |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
26 |
All Rights Reserved |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
27 |
|
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
28 |
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
|
29 |
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
|
30 |
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
|
31 |
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
|
32 |
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
|
33 |
hereby transferred. |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
34 |
" |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
35 |
|
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 |
|
4444 | 38 |
documentation |
39 |
" |
|
4516 | 40 |
Error is the superclass and parent of all error exceptions in the system |
4444 | 41 |
|
42 |
[author:] |
|
43 |
Stefan Vogel |
|
44 |
||
45 |
[see also:] |
|
46 |
Signal |
|
47 |
" |
|
48 |
! ! |
|
49 |
||
4516 | 50 |
!Error class methodsFor:'initialization'! |
51 |
||
52 |
initialize |
|
53 |
NotifierString := 'error encountered'. |
|
54 |
||
13133 | 55 |
"Created: / 04-08-1999 / 08:48:18 / stefan" |
56 |
"Modified: / 17-11-2010 / 17:53:07 / cg" |
|
4516 | 57 |
! ! |
58 |
||
12089 | 59 |
!Error class methodsFor:'misc ui support'! |
60 |
||
61 |
iconInBrowserSymbol |
|
62 |
<resource: #programImage> |
|
63 |
||
64 |
^ #errorClassBrowserIcon |
|
65 |
! ! |
|
66 |
||
4444 | 67 |
!Error class methodsFor:'queries'! |
68 |
||
69 |
mayProceed |
|
70 |
"By default, errors do not allow to proceed. |
|
71 |
Subclasses may change this" |
|
72 |
||
8486 | 73 |
^ false |
4444 | 74 |
|
75 |
"Created: / 23.7.1999 / 14:52:26 / stefan" |
|
76 |
"Modified: / 23.7.1999 / 14:52:39 / stefan" |
|
77 |
! ! |
|
78 |
||
8065
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
79 |
!Error methodsFor:'testing'! |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
80 |
|
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
81 |
isError |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
82 |
^ true |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
83 |
! ! |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
84 |
|
4444 | 85 |
!Error class methodsFor:'documentation'! |
86 |
||
87 |
version |
|
13133 | 88 |
^ '$Header: /cvs/stx/stx/libbasic/Error.st,v 1.11 2010-11-17 16:53:31 cg Exp $' |
12089 | 89 |
! |
90 |
||
91 |
version_CVS |
|
13133 | 92 |
^ '$Header: /cvs/stx/stx/libbasic/Error.st,v 1.11 2010-11-17 16:53:31 cg Exp $' |
4444 | 93 |
! ! |
7586 | 94 |
|
4516 | 95 |
Error initialize! |