29948363da
* fix some bugs * delete duplicate files * format code
15 lines
304 B
Java
15 lines
304 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);
|
|
}
|
|
|
|
}
|