Announcement Announcement Module
Collapse
No announcement yet.
How to resolve exception thrown from view resolver? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to resolve exception thrown from view resolver?

    Hi, could You help me with the following issue:

    I have a custom view resolver(s) and an exception resolver.
    When an exception is throw from the controller code, the exception resolver is callend and the exception is mapped onto the view with error message.

    However, when I throw an exception from one of the view resolvers, it propagates up to the application server, and is not resolved with registered exception resolver.

    I suppose this happens because exception resolver is 'below' view resolvers, since the views returned by it must be resolved... and so exceptions from view resolvers are thrown outside.. but still I dmo not know how to deal with that situation in a well-designed way.

    Could anybody shed some light on this one?

    Regards,

    h.

  • #2
    Able to resolve ?

    Hi ,
    Were you able to resolve this issue? I am facing a similar issue in my application.

    Comment

    Working...
    X