Class HeapFullException

  • All Implemented Interfaces:
    java.io.Serializable

    public class HeapFullException
    extends java.lang.Exception
    Exception to be on an attempt to insert an element into a bounded binary heap when the heap is full
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      HeapFullException​(java.lang.String message)  
    • Method Summary

      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • HeapFullException

        public HeapFullException​(java.lang.String message)
        Parameters:
        message - the message to be displayed

        Constructs a HeapFullException with the specified message.