author | hlopkmar |
Sat, 04 Jun 2011 15:23:37 +0000 | |
branch | jk_new_structure |
changeset 837 | 8f42226d82c0 |
parent 836 | b64228c3acaa |
child 877 | f5a5b93e1c78 |
permissions | -rw-r--r-- |
752 | 1 |
" |
2 |
COPYRIGHT (c) 1997 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 |
" |
|
12 |
"{ Package: 'stx:libjava' }" |
|
13 |
||
14 |
JavaMethod variableSubclass:#JavaMethodWithException |
|
15 |
instanceVariableNames:'exceptionTable' |
|
16 |
classVariableNames:'' |
|
17 |
poolDictionaries:'' |
|
18 |
category:'Languages-Java-Classes' |
|
19 |
! |
|
20 |
||
21 |
!JavaMethodWithException class methodsFor:'documentation'! |
|
22 |
||
23 |
copyright |
|
24 |
" |
|
25 |
COPYRIGHT (c) 1997 by eXept Software AG |
|
26 |
All Rights Reserved |
|
27 |
||
28 |
This software is furnished under a license and may be used |
|
29 |
only in accordance with the terms of that license and with the |
|
30 |
inclusion of the above copyright notice. This software may not |
|
31 |
be provided or otherwise made available to, or used by, any |
|
32 |
other person. No title to or ownership of the software is |
|
33 |
hereby transferred. |
|
34 |
" |
|
35 |
||
36 |
! ! |
|
37 |
||
38 |
!JavaMethodWithException class methodsFor:'initialization'! |
|
39 |
||
40 |
initialize |
|
41 |
self flags:(self flags bitOr:Behavior flagJavaMethod). |
|
42 |
! ! |
|
43 |
||
44 |
!JavaMethodWithException methodsFor:'accessing'! |
|
45 |
||
46 |
exceptionTable |
|
837
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
47 |
"return exception table - collection of classRefs" |
836
b64228c3acaa
fixed JavaMethod>>exceptionTable, so junit3 tests are passing now
hlopkmar
parents:
752
diff
changeset
|
48 |
^ exceptionTable. |
752 | 49 |
|
50 |
"Created: / 05-11-1998 / 19:58:38 / cg" |
|
51 |
"Modified: / 04-02-2011 / 22:07:25 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
837
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
52 |
"Modified: / 04-06-2011 / 17:20:17 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
752 | 53 |
! |
54 |
||
55 |
getExceptionTable |
|
837
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
56 |
"return exception table - collection of classRefs" |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
57 |
^ exceptionTable |
752 | 58 |
|
59 |
"Created: / 04-02-2011 / 23:07:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
837
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
60 |
"Modified: / 04-06-2011 / 17:20:29 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
752 | 61 |
! |
62 |
||
837
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
63 |
javaExceptionTable |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
64 |
"return exception table - collection of resolved java classes" |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
65 |
exceptionTable ifNil: [ ^ nil ]. |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
66 |
^ exceptionTable collect: [:classRef | classRef resolve ]. |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
67 |
|
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
68 |
"Modified: / 04-02-2011 / 22:07:25 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
69 |
"Created: / 04-06-2011 / 17:16:50 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
70 |
! |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
71 |
|
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
72 |
setExceptionTable: anArray |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
73 |
"set exception table - expected arg: collection of classRefs" |
752 | 74 |
exceptionTable := anArray. |
75 |
||
837
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
76 |
"Created: / 05-11-1998 / 19:58:43 / cg" |
8f42226d82c0
slightly refactored exceptionTable methods and their callers.. no typechanging side effects
hlopkmar
parents:
836
diff
changeset
|
77 |
"Modified: / 04-06-2011 / 17:21:17 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
752 | 78 |
! ! |
79 |
||
80 |
!JavaMethodWithException class methodsFor:'documentation'! |
|
81 |
||
82 |
version |
|
83 |
^ '$Id$' |
|
84 |
! |
|
85 |
||
86 |
version_SVN |
|
87 |
^ '$Id$' |
|
88 |
! ! |
|
89 |
||
90 |
JavaMethodWithException initialize! |