mirror of
https://github.com/TheAlgorithms/Java.git
synced 2025-07-14 09:22:32 +08:00
18 lines
300 B
Java
18 lines
300 B
Java
/**
|
|
*
|
|
*/
|
|
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);
|
|
}
|
|
|
|
}
|