ExecutionError.st
author Jan Vrany <jan.vrany@labware.com>
Tue, 01 Jun 2021 20:19:13 +0100
branchjv
changeset 25424 51bd8a6b196f
parent 23547 c69c97cec351
permissions -rw-r--r--
Cherry-picked `Context` cherry-picked Context.st from a6b6dda4caff: * 4aaf30c174e9: #DOCUMENTATION by cg, Claus Gittinger <cg@exept.de> * c67311afcc6c: #OTHER by cg, Claus Gittinger <cg@exept.de> * 883f79e7b2a6: #FEATURE by cg, Claus Gittinger <cg@exept.de> * 716f3fbb09e9: Don't mark contexts with `CATCHMARK`, Jan Vrany <jan.vrany@fit.cvut.cz> * cff24fa817b0: #REFACTORING by stefan, Stefan Vogel <sv@exept.de> * 521f0d837330: #UI_ENHANCEMENT by cg, Claus Gittinger <cg@exept.de> * bf1118f0fcca: #UI_ENHANCEMENT by cg, Claus Gittinger <cg@exept.de> * e587cdd22868: #BUGFIX by cg, Claus Gittinger <cg@exept.de> * fe9f9487a3ed: #DOCUMENTATION by cg, Claus Gittinger <cg@exept.de> * d5b781899274: #BUGFIX by cg, Claus Gittinger <cg@exept.de> * 8258751a7465: #FEATURE by cg, Claus Gittinger <cg@exept.de> * 40173e082cbc: Copyright updates, Jan Vrany <jan.vrany@fit.cvut.cz> * 6db5c28207d5: #UI_ENHANCEMENT by cg, Claus Gittinger <cg@exept.de> * 871ea64fd5dc: #FEATURE by cg, Claus Gittinger <cg@exept.de> * 4b544a108e4e: #DOCUMENTATION by cg, Claus Gittinger <cg@exept.de> * 9a8d8399e566: #FEATURE by cgexept.de, Claus Gittinger <cg@exept.de> * 170b00be0103: #BUGFIX by stefan, Stefan Vogel <sv@exept.de> * a6c73965eae8: #FEATURE by cg, Claus Gittinger <cg@exept.de> * ce2a0e462ff0: #FEATURE by cg, Claus Gittinger <cg@exept.de> * 46a260a9ca92: #FEATURE by cg, Claus Gittinger <cg@exept.de> * 46cab49167fb: #UI_ENHANCEMENT by exept, Claus Gittinger <cg@exept.de> * 7d52dfd3997d: #DOCUMENTATION by exept, Claus Gittinger <cg@exept.de> * c52eeea62763: Fix `Context >> argAndVarNames` in cases when debug info is not available, Jan Vrany <jan.vrany@labware.com> * b5d6963fe4a9: Backed out changeset c52eeea62763, Jan Vrany <jan.vrany@labware.com> * 6fd3896f8703: #FEATURE by exept, Claus Gittinger <cg@exept.de> * b530ee616256: #REFACTORING by cg, Claus Gittinger <cg@exept.de> * ef9b481d7498: #FEATURE by cg, Claus Gittinger <cg@exept.de> * ea663b72bd51: #UI_ENHANCEMENT by cg, Claus Gittinger <cg@exept.de> * 6179572a733c: #FEATURE by exept, Claus Gittinger <cg@exept.de> * 84155b1b6622: #DOCUMENTATION by exept, Claus Gittinger <cg@exept.de> * 37d06602d856: *** empty log message ***, Claus Gittinger <cg@exept.de> * f927b9022fea: *** empty log message ***, Claus Gittinger <cg@exept.de> * 427d3be62d97: #UI_ENHANCEMENT by exept, Claus Gittinger <cg@exept.de>
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7587
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     1
"
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     2
 COPYRIGHT (c) 2003 by eXept Software AG
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     3
              All Rights Reserved
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     4
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     5
 This software is furnished under a license and may be used
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     6
 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
     7
 inclusion of the above copyright notice.   This software may not
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     8
 be provided or otherwise made available to, or used by, any
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
     9
 other person.  No title to or ownership of the software is
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    10
 hereby transferred.
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    11
"
20450
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    12
"{ Package: 'stx:libbasic' }"
7587
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
"{ NameSpace: Smalltalk }"
7145
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    15
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    16
ProceedableError subclass:#ExecutionError
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    17
	instanceVariableNames:''
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    18
	classVariableNames:''
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    19
	poolDictionaries:''
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    20
	category:'Kernel-Exceptions-ExecutionErrors'
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    21
!
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    22
7231
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    23
!ExecutionError class methodsFor:'documentation'!
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    24
7587
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    25
copyright
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    26
"
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    27
 COPYRIGHT (c) 2003 by eXept Software AG
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    28
              All Rights Reserved
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    29
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    30
 This software is furnished under a license and may be used
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    31
 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
    32
 inclusion of the above copyright notice.   This software may not
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    33
 be provided or otherwise made available to, or used by, any
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    34
 other person.  No title to or ownership of the software is
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    35
 hereby transferred.
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    36
"
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    37
!
89864caa2665 *** empty log message ***
Claus Gittinger <cg@exept.de>
parents: 7231
diff changeset
    38
7231
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    39
documentation
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    40
"
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    41
    Common parent of execution-related errors
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    42
"
5e1250b3f7f6 comments
Claus Gittinger <cg@exept.de>
parents: 7145
diff changeset
    43
! !
7145
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    44
7602
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    45
!ExecutionError class methodsFor:'initialization'!
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    46
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    47
initialize
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    48
    NotifierString := 'execution error'.
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    49
! !
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    50
20450
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    51
!ExecutionError class methodsFor:'testing'!
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    52
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    53
isProgramError
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    54
    "redefined in all exceptions which are programmer's errors,
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    55
     and which should probably not be ignored.
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    56
     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
    57
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    58
    ^ true
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
7145
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    61
!ExecutionError class methodsFor:'documentation'!
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    62
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    63
version
20450
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    64
    ^ '$Header$'
17761
b0e5971141bc Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
    65
!
b0e5971141bc Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
    66
b0e5971141bc Added Lookup and BuiltinLookup classes
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17711
diff changeset
    67
version_SVN
17911
a99f15c5efa5 Updated with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17910
diff changeset
    68
    ^ '$Id: ExecutionError.st 10761 2012-01-19 11:46:00Z vranyj1 $'
7145
a2a21668f317 initial checkin
Claus Gittinger <cg@exept.de>
parents:
diff changeset
    69
! !
7602
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    70
20450
bb3b6784f073 #OTHER by cg
Claus Gittinger <cg@exept.de>
parents: 7602
diff changeset
    71
7602
d048f13cd50a Exception classes initialize themself.
Stefan Vogel <sv@exept.de>
parents: 7587
diff changeset
    72
ExecutionError initialize!
17892
d86c8bd5ece3 Merged with CVS
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17869
diff changeset
    73
17910
8d796ca8bd1d Merged with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17892
diff changeset
    74
17911
a99f15c5efa5 Updated with /trunk
Jan Vrany <jan.vrany@fit.cvut.cz>
parents: 17910
diff changeset
    75