Results 1 to 2 of 2

Thread: exception handling in spring

  1. #1

    Default exception handling in spring

    I plan to use spring MVC,Spring well fit in to web layer,but still not clear about how exception handled in spring framework,I read Spring reference and spring in action but no detailed explanation found.Any one please explain me in details or refer some books or URL.

  2. #2
    Join Date
    Aug 2006
    Location
    Arequipa-Peru / South America
    Posts
    2,806

    Default

    I plan to use spring MVC,Spring well fit in to web layer,but still not clear about how exception handled in spring framework,
    normally in my mvc controllers i handle the most specific exceptions (my own class exceptions) and runtimeexceptions, to catch them all and send an specific error message
    in a proper view (these exceptions must came from BO o Service layer)

    HTH
    - Manuel Jordan

    Kill Your Pride, Share Your Knowledge With All
    The Fear Of The LORD Is The Beginning Of Knowledge, But Fools Despise Wisdom And Discipline. Proverbs 1:7

    Blog


    Technical Reviewer of Apress

    • Pro SpringSource dm Server
    • Spring Enterprise Recipes: A Problem-Solution Approach
    • Spring Recipes: A Problem-Solution Approach, 2nd Edition
    • Pro Spring Integration
    • Pro Spring Batch
    • Pro Spring 3
    • Pro Spring MVC: With Web Flow
    • Pro Spring Security

Posting Permissions

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