KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > java > lang > UnsupportedClassVersionError


1 /*
2  * @(#)UnsupportedClassVersionError.java 1.10 03/12/19
3  *
4  * Copyright 2004 Sun Microsystems, Inc. All rights reserved.
5  * SUN PROPRIETARY/CONFIDENTIAL. Use is subject to license terms.
6  */

7
8 package java.lang;
9
10 /**
11  * Thrown when the Java Virtual Machine attempts to read a class
12  * file and determines that the major and minor version numbers
13  * in the file are not supported.
14  *
15  * @since 1.2
16  */

17 public
18 class UnsupportedClassVersionError extends ClassFormatError JavaDoc {
19     /**
20      * Constructs a <code>UnsupportedClassVersionError</code>
21      * with no detail message.
22      */

23     public UnsupportedClassVersionError() {
24     super();
25     }
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 JavaDoc s) {
34     super(s);
35     }
36 }
37
Popular Tags