Handle Bad Input ProfileService Connections Java