Adding all heap classes and interface and specific exception.

This commit is contained in:
Nicolas Renard
2016-12-13 15:42:35 +01:00
parent 3bba193482
commit 4c14273d17
5 changed files with 407 additions and 0 deletions

View File

@ -0,0 +1,18 @@
/**
*
*/
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);
}
}