Updated Error Handling using N-Tier architecture. Remoed direct DB call in Presentation. Code is working.