throw exception for parse errors in CmdOptParser