1. /*
  2. * @(#)EmptyStackException.java 1.17 00/02/02
  3. *
  4. * Copyright 1994-2000 Sun Microsystems, Inc. All Rights Reserved.
  5. *
  6. * This software is the proprietary information of Sun Microsystems, Inc.
  7. * Use is subject to license terms.
  8. *
  9. */
  10. package java.util;
  11. /**
  12. * Thrown by methods in the <code>Stack</code> class to indicate
  13. * that the stack is empty.
  14. *
  15. * @author Jonathan Payne
  16. * @version 1.17, 02/02/00
  17. * @see java.util.Stack
  18. * @since JDK1.0
  19. */
  20. public
  21. class EmptyStackException extends RuntimeException {
  22. /**
  23. * Constructs a new <code>EmptyStackException</code> with <tt>null</tt>
  24. * as its error message string.
  25. */
  26. public EmptyStackException() {
  27. }
  28. }