RecursiveExceptionError.st
author Claus Gittinger <cg@exept.de>
Tue, 09 Jul 2019 20:55:17 +0200
changeset 24417 03b083548da2
parent 15112 2c2a8ff9c25a
child 18050 131d0413b25b
permissions -rw-r--r--
#REFACTORING by exept class: Smalltalk class changed: #recursiveInstallAutoloadedClassesFrom:rememberIn:maxLevels:noAutoload:packageTop:showSplashInLevels: Transcript showCR:(... bindWith:...) -> Transcript showCR:... with:...
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
4554
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
     1
"
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
     2
 COPYRIGHT (c) 1999 by eXept Software AG
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
     3
              All Rights Reserved
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
     4
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
     5
 This software is furnished under a license and may be used
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
     6
 only in accordance with the terms of that license and with the
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
     7
 inclusion of the above copyright notice.   This software may not
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
     8
 be provided or otherwise made available to, or used by, any
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
     9
 other person.  No title to or ownership of the software is
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    10
 hereby transferred.
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    11
"
6210
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 4554
diff changeset
    12
"{ Package: 'stx:libbasic' }"
d7039e2ae776 caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents: 4554
diff changeset
    13
8949
e43390dadfd7 changed superclass to Error.
Claus Gittinger <cg@exept.de>
parents: 7586
diff changeset
    14
Error subclass:#RecursiveExceptionError
4528
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    15
	instanceVariableNames:''
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    16
	classVariableNames:''
5ef0de6abb50 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: 4554
diff changeset
    18
	category:'Kernel-Exceptions-Errors'
4528
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    19
!
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    20
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    21
!RecursiveExceptionError class methodsFor:'documentation'!
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    22
4554
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    23
copyright
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    24
"
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    25
 COPYRIGHT (c) 1999 by eXept Software AG
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    26
              All Rights Reserved
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    27
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    28
 This software is furnished under a license and may be used
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    29
 only in accordance with the terms of that license and with the
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    30
 inclusion of the above copyright notice.   This software may not
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    31
 be provided or otherwise made available to, or used by, any
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    32
 other person.  No title to or ownership of the software is
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    33
 hereby transferred.
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    34
"
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    35
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    36
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    37
!
db264efac2c0 Add copyright.
Stefan Vogel <sv@exept.de>
parents: 4528
diff changeset
    38
4528
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    39
documentation
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    40
"
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    41
    RecursiveExceptionError is raised, if the same exception is raised
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    42
    again in an exception handler.
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    43
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    44
    The parameter is the recursive exception.
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    45
"
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    46
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    47
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    48
! !
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    49
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    50
!RecursiveExceptionError class methodsFor:'initialization'!
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    51
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    52
initialize
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    53
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    54
    NotifierString := 'recursive exception raise in handler'.
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    55
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    56
    "
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    57
     self initialize
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    58
    "
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    59
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    60
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    61
! !
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    62
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    63
!RecursiveExceptionError class methodsFor:'queries'!
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    64
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    65
mayProceed
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    66
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    67
    ^ false
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    68
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    69
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    70
! !
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    71
15112
2c2a8ff9c25a class: RecursiveExceptionError
Claus Gittinger <cg@exept.de>
parents: 8949
diff changeset
    72
!RecursiveExceptionError methodsFor:'accessing'!
2c2a8ff9c25a class: RecursiveExceptionError
Claus Gittinger <cg@exept.de>
parents: 8949
diff changeset
    73
2c2a8ff9c25a class: RecursiveExceptionError
Claus Gittinger <cg@exept.de>
parents: 8949
diff changeset
    74
exception
2c2a8ff9c25a class: RecursiveExceptionError
Claus Gittinger <cg@exept.de>
parents: 8949
diff changeset
    75
    "the original exception, which was responsible for this.
2c2a8ff9c25a class: RecursiveExceptionError
Claus Gittinger <cg@exept.de>
parents: 8949
diff changeset
    76
     ANSI compatibility"
2c2a8ff9c25a class: RecursiveExceptionError
Claus Gittinger <cg@exept.de>
parents: 8949
diff changeset
    77
2c2a8ff9c25a class: RecursiveExceptionError
Claus Gittinger <cg@exept.de>
parents: 8949
diff changeset
    78
    ^ parameter
2c2a8ff9c25a class: RecursiveExceptionError
Claus Gittinger <cg@exept.de>
parents: 8949
diff changeset
    79
! !
2c2a8ff9c25a class: RecursiveExceptionError
Claus Gittinger <cg@exept.de>
parents: 8949
diff changeset
    80
4528
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    81
!RecursiveExceptionError class methodsFor:'documentation'!
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    82
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    83
version
15112
2c2a8ff9c25a class: RecursiveExceptionError
Claus Gittinger <cg@exept.de>
parents: 8949
diff changeset
    84
    ^ '$Header: /cvs/stx/stx/libbasic/RecursiveExceptionError.st,v 1.6 2013-04-19 08:40:19 cg Exp $'
4528
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    85
! !
7586
63e4900c8931 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 6210
diff changeset
    86
15112
2c2a8ff9c25a class: RecursiveExceptionError
Claus Gittinger <cg@exept.de>
parents: 8949
diff changeset
    87
4528
5ef0de6abb50 initial checkin
Stefan Vogel <sv@exept.de>
parents:
diff changeset
    88
RecursiveExceptionError initialize!