catch empty password exception