author | convert-repo |
Wed, 10 Jul 2013 13:09:28 +0000 | |
changeset 15507 | 48222edbd770 |
parent 15498 | e6e60ed6dd3d |
child 15572 | 72b82922f0f2 |
child 18075 | bd252c0beac9 |
permissions | -rw-r--r-- |
7586 | 1 |
" |
2 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
5990 | 12 |
"{ Package: 'stx:libbasic' }" |
13 |
||
14 |
ProceedableError subclass:#StreamError |
|
15498 | 15 |
instanceVariableNames:'errorCode osErrorHolder' |
5990 | 16 |
classVariableNames:'' |
17 |
poolDictionaries:'' |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5990
diff
changeset
|
18 |
category:'Kernel-Exceptions-Errors' |
5990 | 19 |
! |
20 |
||
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5990
diff
changeset
|
21 |
!StreamError class methodsFor:'documentation'! |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5990
diff
changeset
|
22 |
|
7586 | 23 |
copyright |
24 |
" |
|
25 |
COPYRIGHT (c) 2001 by eXept Software AG |
|
26 |
All Rights Reserved |
|
27 |
||
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
! |
|
36 |
||
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5990
diff
changeset
|
37 |
documentation |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5990
diff
changeset
|
38 |
" |
7232 | 39 |
The parent of all stream errors. |
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5990
diff
changeset
|
40 |
" |
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5990
diff
changeset
|
41 |
! ! |
5990 | 42 |
|
12685 | 43 |
!StreamError methodsFor:'accessing'! |
44 |
||
45 |
errorCode |
|
46 |
^ errorCode |
|
47 |
! |
|
48 |
||
49 |
errorCode:something |
|
50 |
errorCode := something. |
|
15498 | 51 |
! |
52 |
||
53 |
osErrorHolder |
|
54 |
"return the error holder describing an OS error. |
|
55 |
return nil, if this is not an OS error" |
|
56 |
||
57 |
(osErrorHolder isNil and:[errorCode isInteger]) ifTrue:[ |
|
58 |
osErrorHolder := OperatingSystem errorHolderForNumber:errorCode. |
|
59 |
]. |
|
60 |
^ osErrorHolder. |
|
61 |
! |
|
62 |
||
63 |
osErrorHolder:something |
|
64 |
osErrorHolder := something. |
|
12685 | 65 |
! ! |
66 |
||
5990 | 67 |
!StreamError class methodsFor:'documentation'! |
68 |
||
69 |
version |
|
15498 | 70 |
^ '$Header: /cvs/stx/stx/libbasic/StreamError.st,v 1.8 2013-07-09 11:57:15 stefan Exp $' |
12685 | 71 |
! |
72 |
||
73 |
version_CVS |
|
15498 | 74 |
^ '$Header: /cvs/stx/stx/libbasic/StreamError.st,v 1.8 2013-07-09 11:57:15 stefan Exp $' |
5990 | 75 |
! ! |
15498 | 76 |