custom exceptions from voicexml grammar

Hi

Is it possible to raise a custom exception from a voiceXML (DTMF) grammar on user input?

My flow have a general press star to repeat a prompt, so instead of having a branching after the input block that checks if the input is a star I can just raise a star exception from my grammar and connect that back to the input block. I am allready using a external grammar.