home *** CD-ROM | disk | FTP | other *** search
Java Source | 1998-03-20 | 945 b | 35 lines |
- /*
- * @(#)EmptyStackException.java 1.15 98/03/18
- *
- * Copyright 1994-1998 by Sun Microsystems, Inc.,
- * 901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
- * All rights reserved.
- *
- * This software is the confidential and proprietary information
- * of Sun Microsystems, Inc. ("Confidential Information"). You
- * shall not disclose such Confidential Information and shall use
- * it only in accordance with the terms of the license agreement
- * you entered into with Sun.
- */
-
- package java.util;
-
- /**
- * Thrown by methods in the <code>Stack</code> class to indicate
- * that the stack is empty.
- *
- * @author Jonathan Payne
- * @version 1.15, 03/18/98
- * @see java.util.Stack
- * @since JDK1.0
- */
- public
- class EmptyStackException extends RuntimeException {
- /**
- * Constructs a new <code>EmptyStackException</code> with <tt>null</tt>
- * as its error message string.
- */
- public EmptyStackException() {
- }
- }
-