Add illegal query parameter exception and throws when CGI arguments are illegal