Class EmptyHeapException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
EmptyHeapException
- All Implemented Interfaces:
Serializable
Thrown when an application attempts to remove an item from an empty heap.
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionDefault ConstructorConstructs an EmptyHeapException with the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
EmptyHeapException
public EmptyHeapException()Default Constructor -
EmptyHeapException
Constructs an EmptyHeapException with the specified detail message.- Parameters:
s- the detail message
-