ExecutionError.st
author Claus Gittinger <cg@exept.de>
Tue, 09 Jul 2019 20:55:17 +0200
changeset 24417 03b083548da2
parent 20450 bb3b6784f073
child 20578 39641ba8d6e0
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:
20450
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
     1
"{ Encoding: utf8 }"
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
     2
7587
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     3
"
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     4
 COPYRIGHT (c) 2003 by eXept Software AG
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     5
              All Rights Reserved
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     6
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     7
 This software is furnished under a license and may be used
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     8
 only in accordance with the terms of that license and with the
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     9
 inclusion of the above copyright notice.   This software may not
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    10
 be provided or otherwise made available to, or used by, any
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    11
 other person.  No title to or ownership of the software is
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    12
 hereby transferred.
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    13
"
20450
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    14
"{ Package: 'stx:libbasic' }"
7587
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    15
20450
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    16
"{ NameSpace: Smalltalk }"
7145
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
ProceedableError subclass:#ExecutionError
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	instanceVariableNames:''
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	classVariableNames:''
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
	poolDictionaries:''
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
	category:'Kernel-Exceptions-ExecutionErrors'
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    23
!
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    24
7231
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    25
!ExecutionError class methodsFor:'documentation'!
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    26
7587
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    27
copyright
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    28
"
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    29
 COPYRIGHT (c) 2003 by eXept Software AG
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    30
              All Rights Reserved
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    31
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    32
 This software is furnished under a license and may be used
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    33
 only in accordance with the terms of that license and with the
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    34
 inclusion of the above copyright notice.   This software may not
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    35
 be provided or otherwise made available to, or used by, any
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    36
 other person.  No title to or ownership of the software is
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    37
 hereby transferred.
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    38
"
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    39
!
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    40
7231
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    41
documentation
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    42
"
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    43
    Common parent of execution-related errors
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    44
"
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    45
! !
7145
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    46
7602
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    47
!ExecutionError class methodsFor:'initialization'!
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    48
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    49
initialize
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    50
    NotifierString := 'execution error'.
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    51
! !
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    52
20450
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    53
!ExecutionError class methodsFor:'testing'!
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    54
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    55
isProgramError
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    56
    "redefined in all exceptions which are programmer's errors,
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    57
     and which should probably not be ignored.
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    58
     I.e. a global error handler should reject and let a debugger get control."
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    59
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    60
    ^ true
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    61
! !
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    62
7145
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
!ExecutionError class methodsFor:'documentation'!
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    64
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    65
version
20450
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    66
    ^ '$Header$'
7145
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    67
! !
7602
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    68
20450
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    69
7602
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    70
ExecutionError initialize!