2019-02-07 00:11:13 +08:00
|
|
|
package DataStructures.Heaps;
|
2018-04-14 11:45:48 +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 {
|
2019-02-06 10:13:55 +08:00
|
|
|
|
2018-04-14 11:45:48 +08:00
|
|
|
public EmptyHeapException(String message) {
|
|
|
|
super(message);
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|