I feel the code the working fine. All exceptions are caught but the validation is not going through. Please help.