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