author | Claus Gittinger <cg@exept.de> |
Thu, 05 Aug 2004 14:31:05 +0200 | |
changeset 8464 | e9f4d3766157 |
parent 8065 | 23355398af34 |
child 8486 | 381dfb0749b6 |
permissions | -rw-r--r-- |
8065
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
1 |
"{ Encoding: utf8 }" |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
2 |
|
4466
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
3 |
" |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
4 |
COPYRIGHT (c) 1999 by eXept Software AG |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
5 |
All Rights Reserved |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
6 |
|
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
7 |
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
|
8 |
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
|
9 |
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
|
10 |
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
|
11 |
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
|
12 |
hereby transferred. |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
13 |
" |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
14 |
|
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
15 |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
4541
diff
changeset
|
16 |
"{ Package: 'stx:libbasic' }" |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
4541
diff
changeset
|
17 |
|
4444 | 18 |
Exception subclass:#Error |
19 |
instanceVariableNames:'' |
|
20 |
classVariableNames:'' |
|
21 |
poolDictionaries:'' |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
4541
diff
changeset
|
22 |
category:'Kernel-Exceptions-Errors' |
4444 | 23 |
! |
24 |
||
25 |
!Error class methodsFor:'documentation'! |
|
26 |
||
4466
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
27 |
copyright |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
28 |
" |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
29 |
COPYRIGHT (c) 1999 by eXept Software AG |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
30 |
All Rights Reserved |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
31 |
|
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
32 |
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
|
33 |
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
|
34 |
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
|
35 |
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
|
36 |
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
|
37 |
hereby transferred. |
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 |
|
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
40 |
! |
9cba6f4ecec4
copyrights added; typo in docu
Claus Gittinger <cg@exept.de>
parents:
4444
diff
changeset
|
41 |
|
4444 | 42 |
documentation |
43 |
" |
|
4516 | 44 |
Error is the superclass and parent of all error exceptions in the system |
4444 | 45 |
|
46 |
[author:] |
|
47 |
Stefan Vogel |
|
48 |
||
49 |
[see also:] |
|
50 |
Signal |
|
51 |
" |
|
52 |
! ! |
|
53 |
||
4516 | 54 |
!Error class methodsFor:'initialization'! |
55 |
||
56 |
initialize |
|
57 |
||
58 |
NotifierString := 'error encountered'. |
|
59 |
||
60 |
"Created: / 4.8.1999 / 08:48:18 / stefan" |
|
61 |
! ! |
|
62 |
||
4444 | 63 |
!Error class methodsFor:'queries'! |
64 |
||
65 |
mayProceed |
|
66 |
"By default, errors do not allow to proceed. |
|
67 |
Subclasses may change this" |
|
68 |
||
4541
2591a5d85d40
error no longer proceedable.
Claus Gittinger <cg@exept.de>
parents:
4527
diff
changeset
|
69 |
^ false "/ true |
4444 | 70 |
|
71 |
"Created: / 23.7.1999 / 14:52:26 / stefan" |
|
72 |
"Modified: / 23.7.1999 / 14:52:39 / stefan" |
|
73 |
! ! |
|
74 |
||
8065
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
75 |
!Error methodsFor:'testing'! |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
76 |
|
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
77 |
isError |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
78 |
^ true |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
79 |
! ! |
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
80 |
|
4444 | 81 |
!Error class methodsFor:'documentation'! |
82 |
||
83 |
version |
|
8065
23355398af34
isOpenError, isStreamError and isError queries added
Claus Gittinger <cg@exept.de>
parents:
7586
diff
changeset
|
84 |
^ '$Header: /cvs/stx/stx/libbasic/Error.st,v 1.8 2004-03-04 16:39:05 cg Exp $' |
4444 | 85 |
! ! |
7586 | 86 |
|
4516 | 87 |
Error initialize! |