Class EmptyStackException

All Implemented Interfaces:
Serializable

public class EmptyStackException extends RuntimeException
Exception thrown when trying to access elements of an empty stack.
Author:
Dr. Lillis
See Also:
  • Constructor Details

    • EmptyStackException

      public EmptyStackException()
      Default constructor.
    • EmptyStackException

      public EmptyStackException(String s)
      Constructs an EmpthStackException with the specified detail message.
      Parameters:
      s - the detail message