author | hlopkmar |
Sat, 04 Jun 2011 15:08:01 +0000 | |
branch | jk_new_structure |
changeset 836 | b64228c3acaa |
parent 752 | ff7bc6428c9c |
child 837 | 8f42226d82c0 |
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 |
|
836
b64228c3acaa
fixed JavaMethod>>exceptionTable, so junit3 tests are passing now
hlopkmar
parents:
752
diff
changeset
|
47 |
exceptionTable notNil ifTrue: [ |
b64228c3acaa
fixed JavaMethod>>exceptionTable, so junit3 tests are passing now
hlopkmar
parents:
752
diff
changeset
|
48 |
exceptionTable := exceptionTable collect: [:classRef | classRef resolve ] |
b64228c3acaa
fixed JavaMethod>>exceptionTable, so junit3 tests are passing now
hlopkmar
parents:
752
diff
changeset
|
49 |
]. |
b64228c3acaa
fixed JavaMethod>>exceptionTable, so junit3 tests are passing now
hlopkmar
parents:
752
diff
changeset
|
50 |
^ exceptionTable. |
752 | 51 |
|
52 |
"Created: / 05-11-1998 / 19:58:38 / cg" |
|
53 |
"Modified: / 04-02-2011 / 22:07:25 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
836
b64228c3acaa
fixed JavaMethod>>exceptionTable, so junit3 tests are passing now
hlopkmar
parents:
752
diff
changeset
|
54 |
"Modified: / 04-06-2011 / 17:05:24 / Marcel Hlopko <hlopkmar@fel.cvut.cz>" |
752 | 55 |
! |
56 |
||
57 |
getExceptionTable |
|
58 |
||
59 |
^exceptionTable |
|
60 |
||
61 |
"Created: / 04-02-2011 / 23:07:51 / Jan Vrany <jan.vrany@fit.cvut.cz>" |
|
62 |
! |
|
63 |
||
64 |
setExceptionTable:anArray |
|
65 |
exceptionTable := anArray. |
|
66 |
||
67 |
"Created: / 5.11.1998 / 19:58:43 / cg" |
|
68 |
! ! |
|
69 |
||
70 |
!JavaMethodWithException class methodsFor:'documentation'! |
|
71 |
||
72 |
version |
|
73 |
^ '$Id$' |
|
74 |
! |
|
75 |
||
76 |
version_SVN |
|
77 |
^ '$Id$' |
|
78 |
! ! |
|
79 |
||
80 |
JavaMethodWithException initialize! |