author | Claus Gittinger <cg@exept.de> |
Tue, 25 Feb 2003 11:15:21 +0100 | |
changeset 7052 | 207cc9c62982 |
parent 7038 | 89e892bb8226 |
child 7630 | fced37c5cccc |
permissions | -rw-r--r-- |
1 | 1 |
" |
2 |
COPYRIGHT (c) 1993 by Claus Gittinger |
|
171 | 3 |
All Rights Reserved |
1 | 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 |
" |
|
12 |
||
6206 | 13 |
"{ Package: 'stx:libbasic' }" |
14 |
||
4481
f3f7e1af7489
added GenericException in-between, to allow for some exceptions
Claus Gittinger <cg@exept.de>
parents:
4480
diff
changeset
|
15 |
GenericException subclass:#Exception |
f3f7e1af7489
added GenericException in-between, to allow for some exceptions
Claus Gittinger <cg@exept.de>
parents:
4480
diff
changeset
|
16 |
instanceVariableNames:'' |
f3f7e1af7489
added GenericException in-between, to allow for some exceptions
Claus Gittinger <cg@exept.de>
parents:
4480
diff
changeset
|
17 |
classVariableNames:'' |
1118
1037616d9add
ignore unhandled querySignals
Claus Gittinger <cg@exept.de>
parents:
1038
diff
changeset
|
18 |
poolDictionaries:'' |
1037616d9add
ignore unhandled querySignals
Claus Gittinger <cg@exept.de>
parents:
1038
diff
changeset
|
19 |
category:'Kernel-Exceptions' |
1 | 20 |
! |
21 |
||
1953
c8a3af54acb3
unhandled querySignals should return nil
Claus Gittinger <cg@exept.de>
parents:
1710
diff
changeset
|
22 |
!Exception class methodsFor:'documentation'! |
12 | 23 |
|
88 | 24 |
copyright |
25 |
" |
|
26 |
COPYRIGHT (c) 1993 by Claus Gittinger |
|
171 | 27 |
All Rights Reserved |
88 | 28 |
|
29 |
This software is furnished under a license and may be used |
|
30 |
only in accordance with the terms of that license and with the |
|
31 |
inclusion of the above copyright notice. This software may not |
|
32 |
be provided or otherwise made available to, or used by, any |
|
33 |
other person. No title to or ownership of the software is |
|
34 |
hereby transferred. |
|
35 |
" |
|
36 |
! |
|
37 |
||
12 | 38 |
documentation |
39 |
" |
|
7038 | 40 |
Exception is an abstract superclass of all exceptions in the system, |
41 |
which are not generated by user actions (e.g. keyboard interrupts). |
|
4482 | 42 |
|
7038 | 43 |
Think twice before subclassing directly from Exception. Consider to subclass |
44 |
from one of Exceptions subclasses Error, Warning, UserNotification... |
|
45 |
Neither you handle Error instead of Exception, since breakpoints, |
|
46 |
halts and user informational messages are processed as exceptions. |
|
47 |
||
48 |
The behavior is in GenericException, to allow for some exceptions |
|
49 |
(UnhandledExceptionException and UserInterrupts) not to be a child of Exception. |
|
4482 | 50 |
|
51 |
[see also:] |
|
7038 | 52 |
Error |
53 |
Warning |
|
54 |
UserNotification |
|
55 |
Notifcation |
|
4482 | 56 |
Signal |
2174 | 57 |
" |
12 | 58 |
! ! |
4482 | 59 |
|
60 |
!Exception class methodsFor:'documentation'! |
|
61 |
||
62 |
version |
|
7038 | 63 |
^ '$Header: /cvs/stx/stx/libbasic/Exception.st,v 1.81 2003-02-18 13:45:32 stefan Exp $' |
4482 | 64 |
|
65 |
! ! |