Removed unnecessary exceptions that were thrown
Changes in pom