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