Page 1 of 1

About Question enthuware.oce-ejbd.v6.2.551 :

Posted: Sat Nov 24, 2012 1:39 pm
by Christian
The possible option
TellerInterceptor can be used in @Interceptors annotation for TellerBean class if its throws clause is modified to: throws ZeroBalanceException
is a bit confusing as "its throws clause" could also refer to the TellerBean's getBalance method. Although, this would not help since the throws clause on the interface's method would need to be altered as well.

Still, I propose to have the possible option read
TellerInterceptor can be used in @Interceptors annotation for TellerBean class if the TellerInterceptor's myAround method's throws clause is modified to: throws ZeroBalanceException
.

Re: About Question enthuware.oce-ejbd.v6.2.551 :

Posted: Wed Nov 28, 2012 7:26 am
by admin
Updated.

thank you for your feedback!