@@ -0,0 +1,308 @@
+/**%0A * %0A */%0Apackage heaps;%0A%0A/**%0A * @author Nicolas Renard%0A * Exception to be thrown if the getElement method is used on an empty heap.%0A *%0A */%0A@SuppressWarnings(%22serial%22)%0Apublic class EmptyHeapException extends Exception %7B%0A    %0A    public EmptyHeapException(String message) %7B%0A        super(message);%0A    %7D%0A%0A%7D%0A

Create EmptyHeapException.java