author | Claus Gittinger <cg@exept.de> |
Mon, 16 Dec 2019 11:42:04 +0100 | |
changeset 25127 | 22ff3c08a076 |
parent 20265 | 264c329000a5 |
child 20342 | 219a5a47e8b1 |
permissions | -rw-r--r-- |
5569 | 1 |
" |
2 |
COPYRIGHT (c) 1999 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 |
" |
|
20265 | 12 |
"{ Package: 'stx:libbasic' }" |
5569 | 13 |
|
20265 | 14 |
"{ NameSpace: Smalltalk }" |
5569 | 15 |
|
8483
3e76a8fe740a
Change superclass to ProceedableError
Stefan Vogel <sv@exept.de>
parents:
7586
diff
changeset
|
16 |
ProceedableError subclass:#TimeoutError |
4915 | 17 |
instanceVariableNames:'' |
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5569
diff
changeset
|
20 |
category:'Kernel-Exceptions-Errors' |
4915 | 21 |
! |
22 |
||
23 |
!TimeoutError class methodsFor:'documentation'! |
|
24 |
||
5569 | 25 |
copyright |
26 |
" |
|
27 |
COPYRIGHT (c) 1999 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 |
! |
|
38 |
||
4915 | 39 |
documentation |
40 |
" |
|
8483
3e76a8fe740a
Change superclass to ProceedableError
Stefan Vogel <sv@exept.de>
parents:
7586
diff
changeset
|
41 |
TimeoutError may be raised, when a timeout on some operation occurs. |
4915 | 42 |
It is recommended to perform the operation in a while-loop, and to raise the |
43 |
exception proceedable, in order to retry the operation or wait |
|
44 |
by proceeding the exception. |
|
45 |
||
46 |
[author:] |
|
47 |
Stefan Vogel |
|
48 |
||
49 |
[instance variables] |
|
50 |
parameter value of the timer in seconds |
|
51 |
||
52 |
" |
|
53 |
! ! |
|
54 |
||
55 |
!TimeoutError class methodsFor:'initialization'! |
|
56 |
||
57 |
initialize |
|
58 |
||
20265 | 59 |
NotifierString := 'timeout occurred'. |
4915 | 60 |
|
61 |
" |
|
62 |
self initialize |
|
63 |
" |
|
64 |
! ! |
|
65 |
||
66 |
!TimeoutError class methodsFor:'documentation'! |
|
67 |
||
68 |
version |
|
20265 | 69 |
^ '$Header$' |
4915 | 70 |
! ! |
7586 | 71 |
|
20265 | 72 |
|
4915 | 73 |
TimeoutError initialize! |