JavaAlgorithms/DataStructures/Heaps/EmptyHeapException.java
2018-04-14 06:45:48 +03:00

19 lines
308 B
Java

/**
*
*/
package 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);
}
}