1. /*
  2. * @(#)StackOverflowError.java 1.18 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.lang;
  11. /**
  12. * Thrown when a stack overflow occurs because an application
  13. * recurses too deeply.
  14. *
  15. * @author unascribed
  16. * @version 1.18, 02/02/00
  17. * @since JDK1.0
  18. */
  19. public
  20. class StackOverflowError extends VirtualMachineError {
  21. /**
  22. * Constructs a <code>StackOverflowError</code> with no detail message.
  23. */
  24. public StackOverflowError() {
  25. super();
  26. }
  27. /**
  28. * Constructs a <code>StackOverflowError</code> with the specified
  29. * detail message.
  30. *
  31. * @param s the detail message.
  32. */
  33. public StackOverflowError(String s) {
  34. super(s);
  35. }
  36. }