| Index: lib/core/queue.dart
|
| diff --git a/lib/core/queue.dart b/lib/core/queue.dart
|
| index beff3d7b9942e9e632d43bd9cc999fc8c1fd488c..33da871e6dc1e93198781ac23382f579891e73d9 100644
|
| --- a/lib/core/queue.dart
|
| +++ b/lib/core/queue.dart
|
| @@ -22,13 +22,13 @@ abstract class Queue<E> extends Collection<E> {
|
|
|
| /**
|
| * Removes and returns the first element of this queue. Throws an
|
| - * [EmptyQueueException] exception if this queue is empty.
|
| + * [StateError] exception if this queue is empty.
|
| */
|
| E removeFirst();
|
|
|
| /**
|
| * Removes and returns the last element of the queue. Throws an
|
| - * [EmptyQueueException] exception if this queue is empty.
|
| + * [StateError] exception if this queue is empty.
|
| */
|
| E removeLast();
|
|
|
| @@ -55,13 +55,13 @@ abstract class Queue<E> extends Collection<E> {
|
|
|
| /**
|
| * Returns the first element of the queue. Throws an
|
| - * [EmptyQueueException] exception if this queue is empty.
|
| + * [StateError] exception if this queue is empty.
|
| */
|
| E first();
|
|
|
| /**
|
| * Returns the last element of the queue. Throws an
|
| - * [EmptyQueueException] exception if this queue is empty.
|
| + * [StateError] exception if this queue is empty.
|
| */
|
| E last();
|
|
|
|
|