This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin in Action and have Dmitry Jemerov & Svetlana Isakova on-line!
See this thread for details.
Win a copy of Kotlin in Action this week in the Kotlin forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Interceptor and exceptions  RSS feed

 
Sharon Adar
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi!

I�ve tried to use interceptors, in order to keep some information about the user.
Yet � when using it, somehow all my exception are being caught and I lose my stack �trace!
In my JBoss server � I see no error!

I�m sure I�m doing something wrong, and I�m sure it�s something silly.
Can you please help me?

Attached is my pseudo-interceptor.



Thanks!
Sharon.
 
Edvins Reisons
Ranch Hand
Posts: 364
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Assuming that the logger works and you know where the log messages go, have you tried this on another application server?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!