#ifndef BOUNDED_STACK_EXCEPTION_H #define BOUNDED_STACK_EXCEPTION_H #include "RuntimeException.h" #include using std::string; /** * Exception thrown on performing top or pop of an empty stack. */ class BoundedStackEmptyException : public RuntimeException { public: BoundedStackEmptyException(const string& err) : RuntimeException(err) {} }; #endif