2019-02-07 00:11:13 +08:00
|
|
|
package DataStructures.Heaps;
|
2018-04-14 11:45:48 +08:00
|
|
|
|
|
|
|
/**
|
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.
|
2018-04-14 11:45:48 +08:00
|
|
|
*/
|
|
|
|
@SuppressWarnings("serial")
|
|
|
|
public class EmptyHeapException extends Exception {
|
2019-02-06 10:13:55 +08:00
|
|
|
|
2020-10-24 18:23:28 +08:00
|
|
|
public EmptyHeapException(String message) {
|
|
|
|
super(message);
|
|
|
|
}
|
2018-04-14 11:45:48 +08:00
|
|
|
}
|