TimeoutError.st
author Patrik Svestka <patrik.svestka@gmail.com>
Tue, 09 Apr 2019 11:34:04 +0200
branchjv
changeset 24093 0f94f6c8c9d4
parent 20342 219a5a47e8b1
permissions -rw-r--r--
Issue #269: Renaming a registry subKey via RegRenameKey() or if it fails via NtRenameKey()
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
"
20265
264c329000a5 #OTHER by mawalch
mawalch
parents: 8483
diff changeset
    12
"{ Package: 'stx:libbasic' }"
5569
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    13
20265
264c329000a5 #OTHER by mawalch
mawalch
parents: 8483
diff changeset
    14
"{ NameSpace: Smalltalk }"
5569
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    15
8483
3e76a8fe740a Change superclass to ProceedableError
Stefan Vogel <sv@exept.de>
parents: 7586
diff changeset
    16
ProceedableError subclass:#TimeoutError
4915
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
6210
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 5569
diff changeset
    20
	category:'Kernel-Exceptions-Errors'
4915
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    21
!
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    22
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    23
!TimeoutError class methodsFor:'documentation'!
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    24
5569
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    25
copyright
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    26
"
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    27
 COPYRIGHT (c) 1999 by eXept Software AG
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    28
              All Rights Reserved
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    29
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    30
 This software is furnished under a license and may be used
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    31
 only in accordance with the terms of that license and with the
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    32
 inclusion of the above copyright notice.   This software may not
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    33
 be provided or otherwise made available to, or used by, any
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    34
 other person.  No title to or ownership of the software is
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    35
 hereby transferred.
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    36
"
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    37
!
109bc06e4438 copyright added
Claus Gittinger <cg@exept.de>
parents: 4915
diff changeset
    38
4915
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    39
documentation
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    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
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    42
    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
    43
    exception proceedable, in order to retry the operation or wait
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    44
    by proceeding the exception.
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    45
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    46
    [author:]
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    47
        Stefan Vogel
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    48
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    49
    [instance variables]
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    50
        parameter      value of the timer in seconds
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
! !
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    54
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    55
!TimeoutError class methodsFor:'initialization'!
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    56
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    57
initialize
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    58
20265
264c329000a5 #OTHER by mawalch
mawalch
parents: 8483
diff changeset
    59
    NotifierString := 'timeout occurred'.
4915
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    60
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    61
    "
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    62
     self initialize
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
20265
264c329000a5 #OTHER by mawalch
mawalch
parents: 8483
diff changeset
    69
    ^ '$Header$'
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
17911
a99f15c5efa5 Updated with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17910
diff changeset
    73
    ^ '$Id: TimeoutError.st 10761 2012-01-19 11:46:00Z 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
20265
264c329000a5 #OTHER by mawalch
mawalch
parents: 8483
diff changeset
    76
4915
41d5b675769a initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    77
TimeoutError initialize!
17892
d86c8bd5ece3 Merged with CVS
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17869
diff changeset
    78
17910
8d796ca8bd1d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17892
diff changeset
    79
17911
a99f15c5efa5 Updated with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17910
diff changeset
    80