JavaAlgorithms/DataStructures/Heaps/EmptyHeapException.java

13 lines
292 B
Java
Raw Normal View History

package DataStructures.Heaps;
/**
2020-10-24 18:23:28 +08:00
* @author Nicolas Renard Exception to be thrown if the getElement method is used on an empty heap.
*/
@SuppressWarnings("serial")
public class EmptyHeapException extends Exception {
2020-10-24 18:23:28 +08:00
public EmptyHeapException(String message) {
super(message);
}
}