1. /*
  2. * @(#)NumberFormatException.java 1.15 01/11/29
  3. *
  4. * Copyright 2002 Sun Microsystems, Inc. All rights reserved.
  5. * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
  6. */
  7. package java.lang;
  8. /**
  9. * Thrown to indicate that the application has attempted to convert
  10. * a string to one of the numeric types, but that the string does not
  11. * have the appropriate format.
  12. *
  13. * @author unascribed
  14. * @version 1.15, 11/29/01
  15. * @see java.lang.Integer#toString()
  16. * @since JDK1.0
  17. */
  18. public
  19. class NumberFormatException extends IllegalArgumentException {
  20. /**
  21. * Constructs a <code>NumberFormatException</code> with no detail message.
  22. */
  23. public NumberFormatException () {
  24. super();
  25. }
  26. /**
  27. * Constructs a <code>NumberFormatException</code> with the
  28. * specified detail message.
  29. *
  30. * @param s the detail message.
  31. */
  32. public NumberFormatException (String s) {
  33. super (s);
  34. }
  35. }