Creates an EmptyStackException object.
public EmptyStackException()
public EmptyStackException( String s )
s
The message to display when this exception occurs. If you do not specify a value for this parameter, the exception has a default localized message.