19 lines
523 B
Java
19 lines
523 B
Java
package exceptions;
|
|
|
|
/**
|
|
* Signals that the boundaries of a data structure have been illegally
|
|
* traversed (e.g. past the end of a list).
|
|
* @author Roberto Tamassia
|
|
*/
|
|
//Copyright (c) 2003 Brown University, Providence, RI
|
|
//Additional modifications and methods by xgiovio
|
|
|
|
public class EmptyPriorityQueueException extends RuntimeException {
|
|
public EmptyPriorityQueueException(String message) {
|
|
super (message);
|
|
}
|
|
public EmptyPriorityQueueException() {
|
|
super ("EmptyPriorityQueueException");
|
|
}
|
|
}
|