前任老板用我的数据发文章,但是不写我的名字咋办# Engineering - 工程
c*n
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.....
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.....