Files
Java/DataStructures/Heaps/EmptyHeapException.java
yanglbme 8b92c3fdbe fix: remove unnecesary throw to fix #704
- Fix #704
- Thanks @lprone
2019-02-06 10:13:55 +08:00

18 lines
300 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);
}
}