home | O'Reilly's CD bookshelfs | FreeBSD | Linux | Cisco | Cisco Exam  


Java Fundamental Classes Reference

Previous Chapter 17
The java.util Package
Next
 

EmptyStackException

Name

EmptyStackException

Synopsis

Class Name:

java.util.EmptyStackException

Superclass:

java.lang.RuntimeException

Immediate Subclasses:

None

Interfaces Implemented:

None

Availability:

JDK 1.0 or later

Description

An EmptyStackException is thrown by methods of the Stack class when an operation cannot be completed because the stack is empty.

Class Summary

public class java.util.EmptyStackException 
             extends java.lang.RuntimeException {
  // Constructors
  public EmptyStackException();
}

Constructors

EmptyStackException

public EmptyStackException()

Description

This constructor creates an EmptyStackException with no associated detail message.

Inherited Methods

Method

Inherited From

Method

Inherited From

clone()

Object

equals(Object)

Object

fillInStackTrace()

Throwable

finalize()

Object

getClass()

Object

getLocalizedMessage()

Throwable

getMessage()

Throwable

hashCode()

Object

notify()

Object

notifyAll()

Object

printStackTrace()

Throwable

printStackTrace(PrintStream)

Throwable

printStackTrace(PrintWriter)

Throwable

toString()

Throwable

wait()

Object

wait(long)

Object

wait(long, int)

Object

   

See Also

Exception, RuntimeException, Stack


Previous Home Next
Dictionary Book Index Enumeration

Java in a Nutshell Java Language Reference Java AWT Java Fundamental Classes Exploring Java