The PeekException class

(Available since version 1.0)

Introduction

Exception objects of this class are thrown when one calls the Heap::top() method on an empty heap.

It is only intended that users should test for this exception, when necessary, rather than throwing it in their own code.

Class synopsis

SEIDS::Heaps::PeekException extends RuntimeException implements SEIDS::Heaps::ExceptionInterface {
}

See Also

  • Heap::top() - Peeks at the node from the top of the heap

To Top