How to throw exception



I use the read cell from excel.
and makes the variable String from the read cell .
and that string use at click’s selectors.
<wbctrl aaname’"+string+"’> like this.
but this got the error.
maybe string have a “enter” the between.
how can solved it?.please tell me some solutions


Looks like the selector attribute aaname is dynamic.
Please navigate to target->selector->attach live element.
Else use UiExplorer to choose reliable selector.