author | Claus Gittinger <cg@exept.de> |
Mon, 19 May 2003 10:24:25 +0200 | |
changeset 7294 | c4e6d095a150 |
parent 6210 | d7039e2ae776 |
child 7586 | 63e4900c8931 |
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 |
" |
|
12 |
||
13 |
"{ Package: 'stx:libbasic' }" |
|
14 |
||
4915 | 15 |
Error subclass:#TimeoutError |
16 |
instanceVariableNames:'' |
|
17 |
classVariableNames:'' |
|
18 |
poolDictionaries:'' |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5569
diff
changeset
|
19 |
category:'Kernel-Exceptions-Errors' |
4915 | 20 |
! |
21 |
||
22 |
!TimeoutError class methodsFor:'documentation'! |
|
23 |
||
5569 | 24 |
copyright |
25 |
" |
|
26 |
COPYRIGHT (c) 1999 by eXept Software AG |
|
27 |
All Rights Reserved |
|
28 |
||
29 |
This software is furnished under a license and may be used |
|
30 |
only in accordance with the terms of that license and with the |
|
31 |
inclusion of the above copyright notice. This software may not |
|
32 |
be provided or otherwise made available to, or used by, any |
|
33 |
other person. No title to or ownership of the software is |
|
34 |
hereby transferred. |
|
35 |
" |
|
36 |
! |
|
37 |
||
4915 | 38 |
documentation |
39 |
" |
|
40 |
TimeoutError may be raised, when a timeout on some operation occures. |
|
41 |
It is recommended to perform the operation in a while-loop, and to raise the |
|
42 |
exception proceedable, in order to retry the operation or wait |
|
43 |
by proceeding the exception. |
|
44 |
||
45 |
[author:] |
|
46 |
Stefan Vogel |
|
47 |
||
48 |
[instance variables] |
|
49 |
parameter value of the timer in seconds |
|
50 |
||
51 |
" |
|
52 |
! ! |
|
53 |
||
54 |
!TimeoutError class methodsFor:'initialization'! |
|
55 |
||
56 |
initialize |
|
57 |
||
58 |
NotifierString := 'timeout occured'. |
|
59 |
||
60 |
" |
|
61 |
self initialize |
|
62 |
" |
|
63 |
||
64 |
||
65 |
! ! |
|
66 |
||
67 |
!TimeoutError class methodsFor:'queries'! |
|
68 |
||
69 |
mayProceed |
|
70 |
||
71 |
^ true |
|
72 |
||
73 |
||
74 |
||
75 |
! ! |
|
76 |
||
77 |
!TimeoutError class methodsFor:'documentation'! |
|
78 |
||
79 |
version |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
5569
diff
changeset
|
80 |
^ '$Header: /cvs/stx/stx/libbasic/TimeoutError.st,v 1.3 2001-11-17 10:04:47 cg Exp $' |
4915 | 81 |
! ! |
82 |
TimeoutError initialize! |