SWITCHARD-1904 Fix findbugs issues and provide exceptions

Fix findbugs issues and provide exceptions for issues which require more investigation.