1. /*
  2. * @(#)NumberFormatException.java 1.16 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 to indicate that the application has attempted to convert
  13. * a string to one of the numeric types, but that the string does not
  14. * have the appropriate format.
  15. *
  16. * @author unascribed
  17. * @version 1.16, 02/02/00
  18. * @see java.lang.Integer#toString()
  19. * @since JDK1.0
  20. */
  21. public
  22. class NumberFormatException extends IllegalArgumentException {
  23. /**
  24. * Constructs a <code>NumberFormatException</code> with no detail message.
  25. */
  26. public NumberFormatException () {
  27. super();
  28. }
  29. /**
  30. * Constructs a <code>NumberFormatException</code> with the
  31. * specified detail message.
  32. *
  33. * @param s the detail message.
  34. */
  35. public NumberFormatException (String s) {
  36. super (s);
  37. }
  38. }