don't put -1 as a replacement for list while error occurs
improved restaurant information exception handling