JavaAlgorithms/DataStructures/Heaps/EmptyHeapException.java
2019-02-07 00:11:13 +08:00

18 lines
315 B
Java

/**
*
*/
package DataStructures.Heaps;
/**
* @author Nicolas Renard
* Exception to be thrown if the getElement method is used on an empty heap.
*/
@SuppressWarnings("serial")
public class EmptyHeapException extends Exception {
public EmptyHeapException(String message) {
super(message);
}
}