Assertion: queue's method | /r/CapableOf | throw exception
Facets:
value: in that case
type: TEMPORAL
Source sentences:
text: methods differ only in their behavior when the queue is empty: the remove() method throws an exception, while the poll() method returns null .
text: The add() method throws an exception in that case, whereas the offer() method just returns false .
text: The remove() method throws an exception if the Queue is empty.
text: methods differ only in their behavior when the queue is empty: the remove() method throws an exception, while the poll() method returns null .