30 |
/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3 |
/* Written using "Java Class Libraries", 2nd edition, ISBN 0-201-31002-3 |
31 |
* "The Java Language Specification", ISBN 0-201-63451-1 |
* "The Java Language Specification", ISBN 0-201-63451-1 |
32 |
* plus online API docs for JDK 1.2 beta from http://www.javasoft.com. |
* plus online API docs for JDK 1.2 beta from http://www.javasoft.com. |
|
* Status: Believed complete and correct. |
|
33 |
*/ |
*/ |
34 |
|
|
35 |
/** |
/** |
37 |
* or otherwise access elements from an empty stack. |
* or otherwise access elements from an empty stack. |
38 |
* |
* |
39 |
* @author Warren Levy <warrenl@cygnus.com> |
* @author Warren Levy <warrenl@cygnus.com> |
40 |
* @date September 2, 1998. |
* @author Eric Blake <ebb9@email.byu.edu> |
41 |
|
* @see Stack |
42 |
|
* @since 1.0 |
43 |
|
* @status updated to 1.4 |
44 |
*/ |
*/ |
45 |
public class EmptyStackException extends RuntimeException |
public class EmptyStackException extends RuntimeException |
46 |
{ |
{ |
47 |
|
/** |
48 |
|
* Compatible with JDK 1.0. |
49 |
|
*/ |
50 |
private static final long serialVersionUID = 5084686378493302095L; |
private static final long serialVersionUID = 5084686378493302095L; |
51 |
|
|
52 |
/** |
/** |
54 |
*/ |
*/ |
55 |
public EmptyStackException() |
public EmptyStackException() |
56 |
{ |
{ |
|
super(); |
|
57 |
} |
} |
58 |
} |
} |