4915
|
1 |
Error subclass:#TimeoutError
|
|
2 |
instanceVariableNames:''
|
|
3 |
classVariableNames:''
|
|
4 |
poolDictionaries:''
|
|
5 |
category:'Kernel-Exceptions'
|
|
6 |
!
|
|
7 |
|
|
8 |
!TimeoutError class methodsFor:'documentation'!
|
|
9 |
|
|
10 |
documentation
|
|
11 |
"
|
|
12 |
TimeoutError may be raised, when a timeout on some operation occures.
|
|
13 |
It is recommended to perform the operation in a while-loop, and to raise the
|
|
14 |
exception proceedable, in order to retry the operation or wait
|
|
15 |
by proceeding the exception.
|
|
16 |
|
|
17 |
[author:]
|
|
18 |
Stefan Vogel
|
|
19 |
|
|
20 |
[instance variables]
|
|
21 |
parameter value of the timer in seconds
|
|
22 |
|
|
23 |
"
|
|
24 |
! !
|
|
25 |
|
|
26 |
!TimeoutError class methodsFor:'initialization'!
|
|
27 |
|
|
28 |
initialize
|
|
29 |
|
|
30 |
NotifierString := 'timeout occured'.
|
|
31 |
|
|
32 |
"
|
|
33 |
self initialize
|
|
34 |
"
|
|
35 |
|
|
36 |
|
|
37 |
! !
|
|
38 |
|
|
39 |
!TimeoutError class methodsFor:'queries'!
|
|
40 |
|
|
41 |
mayProceed
|
|
42 |
|
|
43 |
^ true
|
|
44 |
|
|
45 |
|
|
46 |
|
|
47 |
! !
|
|
48 |
|
|
49 |
!TimeoutError class methodsFor:'documentation'!
|
|
50 |
|
|
51 |
version
|
|
52 |
^ '$Header: /cvs/stx/stx/libbasic/TimeoutError.st,v 1.1 1999-10-18 21:05:39 stefan Exp $'
|
|
53 |
! !
|
|
54 |
TimeoutError initialize!
|