Client and backend. This class is shared: the same code is compiled into your app and into your server, so everything on this page works in both.

public class EmptyStackException

  1. Object
  2. Throwable
  3. Exception
  4. RuntimeException
  5. EmptyStackException
Thrown by methods in the Stack class to indicate that the stack is empty. Since: JDK1.0, CLDC 1.0 Version: 12/17/01 (CLDC 1.1) See Also:Stack

Constructors

public EmptyStackException()Constructs a new EmptyStackException with null as its error message string.

Inherited methods

Constructor details

EmptyStackException

public EmptyStackException()
Constructs a new EmptyStackException with null as its error message string.