Hi Oleg,
do you mind if I move the code below to the subclass that does the
passivation, so that this class is independent of javax.ejb ?
Simon
> Subject: [jBoss-Dev] CVS update: jboss/src/main/org/jboss/util
> WorkerQueue.java
>
> User: oleg
> Date: 00/11/08 08:43:29
>
> Modified: src/main/org/jboss/util WorkerQueue.java
> Log:
> Minor improvement to Exception logging: EJBException is unwrapped
[snip]
> + catch (Exception x) {
> + // Log system exceptions
> + if (x instanceof EJBException)
> + {
> + Logger.error("BEAN
> EXCEPTION:"+x.getMessage());
> + if
> (((EJBException)x).getCausedByException() != null)
> +
> Logger.exception(((EJBException)x).getCausedByException());
> + } else {
> + Logger.exception(x);
> + }
> + }