Step 3: Handle push's error case

An error occurs if push() is called when the stack is full. At the top of exceptions.cpp, write a StackFull class to represent this error. This exception should take a string and an int in its constructor; the string is an error message and the int is the argument to push() that was not able to be pushed onto the stack. The class should have a GetMessage() accessor that returns the string and a GetValue() accessor that returns the value. Modify push() so that it throws this exception with an error message and value passed to the exception's constructor rather than printing an error message and calling exit(1). Write the code in main() to catch the exception and use cerr to print out the message returned by GetMessage() and the value returned by GetValue().