Results 1 to 2 of 2

Thread: How to resolve exception thrown from view resolver?

  1. #1

    Default 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. #2

    Default Able to resolve ?

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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •