declare namespace java { namespace util { /** * Thrown by methods in the Stack class to indicate * that the stack is empty. * @author Jonathan Payne * @see java.util.Stack * @since JDK1.0 */ // @ts-ignore class EmptyStackException extends java.lang.RuntimeException { /** * Constructs a new EmptyStackException with null * as its error message string. */ // @ts-ignore constructor() } } }