4446
|
1 |
Exception subclass:#Warning
|
|
2 |
instanceVariableNames:''
|
|
3 |
classVariableNames:''
|
|
4 |
poolDictionaries:''
|
|
5 |
category:'Kernel-Exceptions'
|
|
6 |
!
|
|
7 |
|
|
8 |
!Warning class methodsFor:'documentation'!
|
|
9 |
|
|
10 |
documentation
|
|
11 |
"
|
|
12 |
Warning ist an abstract superclass of all warning exceptions in the system
|
|
13 |
|
|
14 |
[author:]
|
|
15 |
Stefan Vogel
|
|
16 |
|
|
17 |
[see also:]
|
|
18 |
Signal
|
|
19 |
"
|
|
20 |
|
|
21 |
!
|
|
22 |
|
|
23 |
examples
|
|
24 |
"
|
|
25 |
[exBegin]
|
|
26 |
Warning raiseRequest
|
|
27 |
[exEnd]
|
|
28 |
"
|
|
29 |
|
|
30 |
! !
|
|
31 |
|
|
32 |
!Warning class methodsFor:'initialization'!
|
|
33 |
|
|
34 |
initialize
|
|
35 |
|
|
36 |
NotifierString := 'Warning'.
|
|
37 |
|
|
38 |
"
|
|
39 |
self initialize
|
|
40 |
"
|
|
41 |
|
|
42 |
"Created: / 23.7.1999 / 15:34:27 / stefan"
|
|
43 |
! !
|
|
44 |
|
|
45 |
!Warning methodsFor:'default actions'!
|
|
46 |
|
|
47 |
action
|
|
48 |
"Default action for warnings: open a warn box with errorString"
|
|
49 |
|
|
50 |
self proceedWith:(Dialog warn:self errorString)
|
|
51 |
|
|
52 |
|
|
53 |
"
|
|
54 |
Warning raiseRequest
|
|
55 |
"
|
|
56 |
|
|
57 |
"Modified: / 23.7.1999 / 15:35:27 / stefan"
|
|
58 |
! !
|
|
59 |
|
|
60 |
!Warning class methodsFor:'documentation'!
|
|
61 |
|
|
62 |
version
|
|
63 |
^ '$Header: /cvs/stx/stx/libbasic/Warning.st,v 1.1 1999-07-23 17:53:36 stefan Exp $'
|
|
64 |
! !
|
|
65 |
Warning initialize!
|