Correct method annotation.
Throw proper exception in queue method.