1. /*
  2. * @(#)UnsupportedClassVersionError.java 1.7 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 major and minor version numbers
  14. * in the file are not supported.
  15. *
  16. * @since 1.2
  17. */
  18. public
  19. class UnsupportedClassVersionError extends ClassFormatError {
  20. /**
  21. * Constructs a <code>UnsupportedClassVersionError</code>
  22. * with no detail message.
  23. */
  24. public UnsupportedClassVersionError() {
  25. super();
  26. }
  27. /**
  28. * Constructs a <code>UnsupportedClassVersionError</code> with
  29. * the specified detail message.
  30. *
  31. * @param s the detail message.
  32. */
  33. public UnsupportedClassVersionError(String s) {
  34. super(s);
  35. }
  36. }