author | Claus Gittinger <cg@exept.de> |
Thu, 07 Jun 2018 16:23:29 +0200 | |
changeset 23054 | 2f647561edc5 |
parent 15844 | 7870eacd55c3 |
child 18112 | 0d7ac9096619 |
child 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 |
||
14 |
StreamError subclass:#OpenError |
|
15 |
instanceVariableNames:'' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
18 |
category:'Kernel-Exceptions-Errors' |
|
19 |
! |
|
20 |
||
8728 | 21 |
!OpenError class methodsFor:'documentation'! |
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 2004 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 |
! ! |
|
8064 | 36 |
|
37 |
!OpenError methodsFor:'accessing'! |
|
38 |
||
39 |
pathName |
|
40 |
"the name of the file/device which failed to open" |
|
41 |
||
14515 | 42 |
(parameter respondsTo:#pathName) ifTrue:[ |
43 |
^ parameter pathName. |
|
11395
4ca8adad4510
changed #pathName - fix acessing when parameter is Socket or stream
Stefan Vogel <sv@exept.de>
parents:
10838
diff
changeset
|
44 |
]. |
14515 | 45 |
^ parameter |
10838 | 46 |
|
47 |
"Modified: / 16-01-2008 / 20:24:24 / cg" |
|
8282
b209958b06aa
openErrorSignal arg: always a string
Claus Gittinger <cg@exept.de>
parents:
8064
diff
changeset
|
48 |
! |
b209958b06aa
openErrorSignal arg: always a string
Claus Gittinger <cg@exept.de>
parents:
8064
diff
changeset
|
49 |
|
b209958b06aa
openErrorSignal arg: always a string
Claus Gittinger <cg@exept.de>
parents:
8064
diff
changeset
|
50 |
stream |
b209958b06aa
openErrorSignal arg: always a string
Claus Gittinger <cg@exept.de>
parents:
8064
diff
changeset
|
51 |
"the stream which failed to open" |
b209958b06aa
openErrorSignal arg: always a string
Claus Gittinger <cg@exept.de>
parents:
8064
diff
changeset
|
52 |
|
8064 | 53 |
^ parameter |
54 |
! ! |
|
55 |
||
56 |
!OpenError class methodsFor:'documentation'! |
|
57 |
||
58 |
version |
|
15844 | 59 |
^ '$Header: /cvs/stx/stx/libbasic/OpenError.st,v 1.13 2013-12-04 11:23:19 stefan Exp $' |
8064 | 60 |
! ! |
14602 | 61 |