author | Stefan Vogel <sv@exept.de> |
Thu, 16 Apr 2020 16:57:05 +0200 | |
changeset 25362 | f1606835f9fb |
parent 25169 | 366ba1117187 |
permissions | -rw-r--r-- |
8728 | 1 |
" |
2 |
COPYRIGHT (c) 2004 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 |
" |
|
8064 | 12 |
"{ Package: 'stx:libbasic' }" |
13 |
||
25169 | 14 |
"{ NameSpace: Smalltalk }" |
15 |
||
8064 | 16 |
StreamError subclass:#OpenError |
17 |
instanceVariableNames:'' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
20 |
category:'Kernel-Exceptions-Errors' |
|
21 |
! |
|
22 |
||
8728 | 23 |
!OpenError class methodsFor:'documentation'! |
24 |
||
25 |
copyright |
|
26 |
" |
|
27 |
COPYRIGHT (c) 2004 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
! ! |
|
8064 | 38 |
|
25169 | 39 |
!OpenError class methodsFor:'initialization'! |
40 |
||
41 |
initialize |
|
42 |
NotifierString := 'open error'. |
|
43 |
! ! |
|
44 |
||
8064 | 45 |
!OpenError methodsFor:'accessing'! |
46 |
||
47 |
pathName |
|
48 |
"the name of the file/device which failed to open" |
|
49 |
||
14515 | 50 |
(parameter respondsTo:#pathName) ifTrue:[ |
51 |
^ parameter pathName. |
|
11395
4ca8adad4510
changed #pathName - fix acessing when parameter is Socket or stream
Stefan Vogel <sv@exept.de>
parents:
10838
diff
changeset
|
52 |
]. |
14515 | 53 |
^ parameter |
10838 | 54 |
|
55 |
"Modified: / 16-01-2008 / 20:24:24 / cg" |
|
8282
b209958b06aa
openErrorSignal arg: always a string
Claus Gittinger <cg@exept.de>
parents:
8064
diff
changeset
|
56 |
! |
b209958b06aa
openErrorSignal arg: always a string
Claus Gittinger <cg@exept.de>
parents:
8064
diff
changeset
|
57 |
|
b209958b06aa
openErrorSignal arg: always a string
Claus Gittinger <cg@exept.de>
parents:
8064
diff
changeset
|
58 |
stream |
b209958b06aa
openErrorSignal arg: always a string
Claus Gittinger <cg@exept.de>
parents:
8064
diff
changeset
|
59 |
"the stream which failed to open" |
b209958b06aa
openErrorSignal arg: always a string
Claus Gittinger <cg@exept.de>
parents:
8064
diff
changeset
|
60 |
|
8064 | 61 |
^ parameter |
62 |
! ! |
|
63 |
||
64 |
!OpenError class methodsFor:'documentation'! |
|
65 |
||
66 |
version |
|
25169 | 67 |
^ '$Header$' |
8064 | 68 |
! ! |
14602 | 69 |
|
25169 | 70 |
|
71 |
OpenError initialize! |