1. /*
  2. * @(#)ClassFormatError.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.lang;
  11. /**
  12. * Thrown when the Java Virtual Machine attempts to read a class
  13. * file and determines that the file is malformed or otherwise cannot
  14. * be interpreted as a class file.
  15. *
  16. * @author unascribed
  17. * @version 1.17, 02/02/00
  18. * @since JDK1.0
  19. */
  20. public
  21. class ClassFormatError extends LinkageError {
  22. /**
  23. * Constructs a <code>ClassFormatError</code> with no detail message.
  24. */
  25. public ClassFormatError() {
  26. super();
  27. }
  28. /**
  29. * Constructs a <code>ClassFormatError</code> with the specified
  30. * detail message.
  31. *
  32. * @param s the detail message.
  33. */
  34. public ClassFormatError(String s) {
  35. super(s);
  36. }
  37. }