752
|
1 |
"
|
877
|
2 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger
|
1152
|
3 |
|
1155
|
4 |
New code and modifications done at SWING Research Group [1]:
|
1152
|
5 |
|
877
|
6 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
|
|
7 |
SWING Research Group, Czech Technical University in Prague
|
|
8 |
|
752
|
9 |
This software is furnished under a license and may be used
|
|
10 |
only in accordance with the terms of that license and with the
|
|
11 |
inclusion of the above copyright notice. This software may not
|
|
12 |
be provided or otherwise made available to, or used by, any
|
|
13 |
other person. No title to or ownership of the software is
|
|
14 |
hereby transferred.
|
877
|
15 |
|
1155
|
16 |
[1] Code written at SWING Research Group contains a signature
|
|
17 |
of one of the above copright owners. For exact set of such code,
|
|
18 |
see the differences between this version and version stx:libjava
|
1152
|
19 |
as of 1.9.2010
|
752
|
20 |
"
|
|
21 |
"{ Package: 'stx:libjava' }"
|
|
22 |
|
|
23 |
JavaMethodWithException variableSubclass:#JavaMethodWithHandler
|
|
24 |
instanceVariableNames:'exceptionHandlerTable'
|
|
25 |
classVariableNames:''
|
|
26 |
poolDictionaries:''
|
|
27 |
category:'Languages-Java-Classes'
|
|
28 |
!
|
|
29 |
|
|
30 |
!JavaMethodWithHandler class methodsFor:'documentation'!
|
|
31 |
|
|
32 |
copyright
|
|
33 |
"
|
877
|
34 |
COPYRIGHT (c) 1996-2011 by Claus Gittinger
|
1152
|
35 |
|
1155
|
36 |
New code and modifications done at SWING Research Group [1]:
|
1152
|
37 |
|
877
|
38 |
COPYRIGHT (c) 2010-2011 by Jan Vrany, Jan Kurs and Marcel Hlopko
|
|
39 |
SWING Research Group, Czech Technical University in Prague
|
|
40 |
|
752
|
41 |
This software is furnished under a license and may be used
|
|
42 |
only in accordance with the terms of that license and with the
|
|
43 |
inclusion of the above copyright notice. This software may not
|
|
44 |
be provided or otherwise made available to, or used by, any
|
|
45 |
other person. No title to or ownership of the software is
|
|
46 |
hereby transferred.
|
877
|
47 |
|
1155
|
48 |
[1] Code written at SWING Research Group contains a signature
|
|
49 |
of one of the above copright owners. For exact set of such code,
|
|
50 |
see the differences between this version and version stx:libjava
|
1152
|
51 |
as of 1.9.2010
|
877
|
52 |
|
752
|
53 |
"
|
|
54 |
! !
|
|
55 |
|
|
56 |
!JavaMethodWithHandler class methodsFor:'initialization'!
|
|
57 |
|
|
58 |
initialize
|
|
59 |
self flags:(self flags bitOr:Behavior flagJavaMethod).
|
|
60 |
! !
|
|
61 |
|
|
62 |
!JavaMethodWithHandler methodsFor:'accessing'!
|
|
63 |
|
|
64 |
exceptionHandlerTable
|
|
65 |
^ exceptionHandlerTable
|
|
66 |
|
|
67 |
"Modified: / 16.4.1996 / 12:49:06 / cg"
|
|
68 |
"Created: / 16.10.1998 / 01:18:28 / cg"
|
|
69 |
!
|
|
70 |
|
|
71 |
setExceptionHandlerTable:anArray
|
|
72 |
exceptionHandlerTable := anArray.
|
|
73 |
|
|
74 |
"Created: / 16.10.1998 / 01:19:00 / cg"
|
|
75 |
! !
|
|
76 |
|
1435
|
77 |
!JavaMethodWithHandler methodsFor:'queries'!
|
|
78 |
|
|
79 |
hasFinallyBasedOnExceptionTable
|
|
80 |
"Returns true if the exeption table has at least one
|
|
81 |
entry for finally block"
|
|
82 |
^exceptionHandlerTable anySatisfy:[:entry|entry catchType == 0].
|
|
83 |
|
|
84 |
"Created: / 28-03-2012 / 23:17:53 / Jan Vrany <jan.vrany@fit.cvut.cz>"
|
|
85 |
! !
|
|
86 |
|
752
|
87 |
!JavaMethodWithHandler class methodsFor:'documentation'!
|
|
88 |
|
|
89 |
version
|
1022
|
90 |
^ '$Id$'
|
752
|
91 |
!
|
|
92 |
|
|
93 |
version_SVN
|
1022
|
94 |
^ '$Id$'
|
923
|
95 |
|
752
|
96 |
! !
|
|
97 |
|
|
98 |
JavaMethodWithHandler initialize!
|