throw exceptions while parse params error