deltaspike-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Thomas Andraschko <andraschko.tho...@gmail.com>
Subject Re: SessionScoped @ExceptionHandler?
Date Sat, 13 Sep 2014 09:12:27 GMT
Hi,

i think we should check if the context of the @ExceptionHandler is
currently active before calling it.


2014-09-13 11:05 GMT+02:00 Karl Kildén <karl.kilden@gmail.com>:

> Hello,
>
> SessionScoped @ExceptionHandler is this supported / considered normal
> practice? The problem is when the exception is from a job with no active
> sessionscope I get ContextNotActiveException.
>
> I was excepting a log message warning me that it could not send it for
> obvious reasons... My SessionScoped exceptionhandler collects information
> per user basis and it works smoothly when the exception was caused by user
> action.
>
> cheers
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message