TimeoutError.st
author Jan Vrany <jan.vrany@fit.cvut.cz>
Mon, 18 Jul 2011 16:22:09 +0100
branchjv
changeset 17846 24edc476ac18
parent 17845 7e0cfaac936d
child 17869 9610c6c94e71
permissions -rw-r--r--
Merged with /trunk
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
5569
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
     1
"
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
     2
 COPYRIGHT (c) 1999 by eXept Software AG
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
     3
              All Rights Reserved
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
     4
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
     5
 This software is furnished under a license and may be used
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
     6
 only in accordance with the terms of that license and with the
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
     8
 be provided or otherwise made available to, or used by, any
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
     9
 other person.  No title to or ownership of the software is
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    10
 hereby transferred.
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    11
"
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    12
"{ Package: 'stx:libbasic' }"
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    13
8483
3e76a8fe740a Change superclass to ProceedableError
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
    14
ProceedableError subclass:#TimeoutError
4915
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    17
	poolDictionaries:''
6210
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5569
diff changeset
    18
	category:'Kernel-Exceptions-Errors'
4915
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    19
!
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    20
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    21
!TimeoutError class methodsFor:'documentation'!
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    22
5569
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    23
copyright
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    24
"
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    25
 COPYRIGHT (c) 1999 by eXept Software AG
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    26
              All Rights Reserved
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    27
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    28
 This software is furnished under a license and may be used
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    29
 only in accordance with the terms of that license and with the
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    31
 be provided or otherwise made available to, or used by, any
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    32
 other person.  No title to or ownership of the software is
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    33
 hereby transferred.
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    34
"
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    35
!
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    36
4915
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    37
documentation
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    38
"
8483
3e76a8fe740a Change superclass to ProceedableError
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
    39
    TimeoutError may be raised, when a timeout on some operation occurs.
4915
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    40
    It is recommended to perform the operation in a while-loop, and to raise the
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    41
    exception proceedable, in order to retry the operation or wait
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    42
    by proceeding the exception.
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    43
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    44
    [author:]
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    45
        Stefan Vogel
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    46
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    47
    [instance variables]
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    48
        parameter      value of the timer in seconds
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    49
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    50
"
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    51
! !
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    52
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    53
!TimeoutError class methodsFor:'initialization'!
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    54
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    55
initialize
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    56
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    57
    NotifierString := 'timeout occured'.
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    58
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    59
    "
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    60
     self initialize
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    61
    "
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    62
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    63
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    64
! !
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    65
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    66
!TimeoutError class methodsFor:'documentation'!
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    67
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    68
version
17846
24edc476ac18 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17845
diff changeset
    69
    ^ '$Id: TimeoutError.st 10660 2011-07-18 15:22:09Z vranyj1 $'
17761
b0e5971141bc Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
    70
!
b0e5971141bc Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
    71
b0e5971141bc Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
    72
version_SVN
17846
24edc476ac18 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17845
diff changeset
    73
    ^ '$Id: TimeoutError.st 10660 2011-07-18 15:22:09Z vranyj1 $'
4915
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    74
! !
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    75
17846
24edc476ac18 Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17845
diff changeset
    76
TimeoutError initialize!