由买买提看人间百态

boards

本页内容为未名空间相应帖子的节选和存档,一周内的贴子最多显示50字,超过一周显示500字 访问原贴
Java版 - aspectJ question
相关主题
aspectJ questionspring transaction的问题
How to intercept a method callAspectJ question
spring AOP questionanother aspectJ question
泛型问题aspectJ + ant , how to define task?
What do you think about AOP?看Spring真是头大
aspectJ Questionaspectj question
有多少人对annotation这个东西不满,请举手!!没有源代码,想替换掉一个class文件里的类
interestingAOP 中的 self-invocation 问题
相关话题的讨论汇总
话题: aspectj话题: methods话题: inside话题: question话题: catch
进入Java版参与讨论
1 (共1页)
c******n
发帖数: 4965
1
I have many existing methods
method1() ...
method2() ...
method3() ....
they all throw SomeException. now I want to wrap these methods so that each
inside simply does try {} catch (){} where the inside of the try loop does
the
original work, and in catch() I recast the exception into SOMEOtherException.
is this possible with AspectJ ?
I guess not??? since it changes the signature.....
1 (共1页)
进入Java版参与讨论
相关主题
AOP 中的 self-invocation 问题What do you think about AOP?
这样理解spring的AOPaspectJ Question
override/overload/overwrite in Java有多少人对annotation这个东西不满,请举手!!
It's a Java Buginteresting
aspectJ questionspring transaction的问题
How to intercept a method callAspectJ question
spring AOP questionanother aspectJ question
泛型问题aspectJ + ant , how to define task?
相关话题的讨论汇总
话题: aspectj话题: methods话题: inside话题: question话题: catch