--- a/src/JavaMethodWithException.st Tue Jul 31 16:57:15 2012 +0000
+++ b/src/JavaMethodWithException.st Wed Aug 01 10:27:50 2012 +0000
@@ -61,6 +61,15 @@
!JavaMethodWithException methodsFor:'accessing'!
+exceptionClasses
+ "Return a collection of declared exception classes that this method
+ throws"
+ exceptionTable isNil ifTrue: [ ^ nil ].
+ ^ exceptionTable collect: [:classRef | classRef resolve ].
+
+ "Created: / 01-08-2012 / 10:09:04 / Jan Vrany <jan.vrany@fit.cvut.cz>"
+!
+
exceptionTable
"return exception table - collection of classRefs"
^ exceptionTable.
@@ -78,15 +87,6 @@
"Modified: / 04-06-2011 / 17:20:29 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
!
-javaExceptionTable
- "return exception table - collection of resolved java classes"
- exceptionTable ifNil: [ ^ nil ].
- ^ exceptionTable collect: [:classRef | classRef resolve ].
-
- "Modified: / 04-02-2011 / 22:07:25 / Jan Vrany <jan.vrany@fit.cvut.cz>"
- "Created: / 04-06-2011 / 17:16:50 / Marcel Hlopko <hlopkmar@fel.cvut.cz>"
-!
-
setExceptionTable: anArray
"set exception table - expected arg: collection of classRefs"
exceptionTable := anArray.