author | Stefan Vogel <sv@exept.de> |
Tue, 28 Apr 2020 16:22:44 +0200 | |
changeset 25376 | 88a3329875ba |
parent 25097 | e9734960752c |
permissions | -rw-r--r-- |
4554 | 1 |
" |
2 |
COPYRIGHT (c) 1999 by eXept Software AG |
|
3 |
All Rights Reserved |
|
4 |
||
5 |
This software is furnished under a license and may be used |
|
6 |
only in accordance with the terms of that license and with the |
|
7 |
inclusion of the above copyright notice. This software may not |
|
8 |
be provided or otherwise made available to, or used by, any |
|
9 |
other person. No title to or ownership of the software is |
|
10 |
hereby transferred. |
|
11 |
" |
|
25082 | 12 |
"{ Package: 'stx:libbasic' }" |
4554 | 13 |
|
25082 | 14 |
"{ NameSpace: Smalltalk }" |
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
4554
diff
changeset
|
15 |
|
4528 | 16 |
SignalError subclass:#WrongProceedabilityError |
17 |
instanceVariableNames:'' |
|
18 |
classVariableNames:'' |
|
19 |
poolDictionaries:'' |
|
6210
d7039e2ae776
caetgory change and documentation added
Claus Gittinger <cg@exept.de>
parents:
4554
diff
changeset
|
20 |
category:'Kernel-Exceptions-Errors' |
4528 | 21 |
! |
22 |
||
23 |
!WrongProceedabilityError class methodsFor:'documentation'! |
|
24 |
||
4554 | 25 |
copyright |
26 |
" |
|
27 |
COPYRIGHT (c) 1999 by eXept Software AG |
|
28 |
All Rights Reserved |
|
29 |
||
30 |
This software is furnished under a license and may be used |
|
31 |
only in accordance with the terms of that license and with the |
|
32 |
inclusion of the above copyright notice. This software may not |
|
33 |
be provided or otherwise made available to, or used by, any |
|
34 |
other person. No title to or ownership of the software is |
|
35 |
hereby transferred. |
|
36 |
" |
|
37 |
||
38 |
||
39 |
! |
|
40 |
||
4528 | 41 |
documentation |
42 |
" |
|
43 |
WrongProceedabilityError is raised to indicate that someone tries |
|
44 |
to raise a nonproceedable exception proceedable. |
|
45 |
||
46 |
The parameter is the unproceedable signal. |
|
47 |
" |
|
48 |
||
49 |
||
50 |
||
51 |
! ! |
|
52 |
||
53 |
!WrongProceedabilityError class methodsFor:'initialization'! |
|
54 |
||
55 |
initialize |
|
56 |
||
57 |
NotifierString := 'attempt to raise a nonproceedable signal proceedable'. |
|
58 |
||
59 |
" |
|
60 |
self initialize |
|
61 |
" |
|
25082 | 62 |
! ! |
4528 | 63 |
|
25082 | 64 |
!WrongProceedabilityError methodsFor:'accessing'! |
4528 | 65 |
|
25082 | 66 |
description |
25097 | 67 |
|whereRaised| |
68 |
||
69 |
originator notNil ifTrue:[ |
|
70 |
whereRaised := ' (raised in ',originator suspendedContext printString,')' |
|
71 |
]. |
|
72 |
^ super description , ': ', self parameter printString,(whereRaised ? '') |
|
4528 | 73 |
! ! |
74 |
||
75 |
!WrongProceedabilityError class methodsFor:'documentation'! |
|
76 |
||
77 |
version |
|
25082 | 78 |
^ '$Header$' |
25083 | 79 |
! |
80 |
||
81 |
version_CVS |
|
82 |
^ '$Header$' |
|
4528 | 83 |
! ! |
7586 | 84 |
|
25082 | 85 |
|
4528 | 86 |
WrongProceedabilityError initialize! |