1. /*
  2. * @(#)EmptyStackException.java 1.19 03/01/23
  3. *
  4. * Copyright 2003 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.util;
  8. /**
  9. * Thrown by methods in the <code>Stack</code> class to indicate
  10. * that the stack is empty.
  11. *
  12. * @author Jonathan Payne
  13. * @version 1.19, 01/23/03
  14. * @see java.util.Stack
  15. * @since JDK1.0
  16. */
  17. public
  18. class EmptyStackException extends RuntimeException {
  19. /**
  20. * Constructs a new <code>EmptyStackException</code> with <tt>null</tt>
  21. * as its error message string.
  22. */
  23. public EmptyStackException() {
  24. }
  25. }