data_structures_free
This commit is contained in:
15
net/datastructures/EmptyQueueException.java
Normal file
15
net/datastructures/EmptyQueueException.java
Normal file
@@ -0,0 +1,15 @@
|
||||
package net.datastructures;
|
||||
|
||||
/**
|
||||
* Runtime exception thrown when one tries to perform operation front
|
||||
* or dequeue on an empty queue.
|
||||
* @author Natasha Gelfand
|
||||
* @author Michael T. Goodrich
|
||||
* @author Roberto Tamassia
|
||||
*/
|
||||
|
||||
public class EmptyQueueException extends RuntimeException {
|
||||
public EmptyQueueException(String err) {
|
||||
super(err);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user