/[classpath]/classpath/java/lang/UnsupportedClassVersionError.java
ViewVC logotype

Diff of /classpath/java/lang/UnsupportedClassVersionError.java

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.4 by mark, Tue Jan 22 22:27:00 2002 UTC revision 1.5 by ericb, Sun Feb 24 04:25:16 2002 UTC
# Line 1  Line 1 
1  /* UnsupportedClassVersionError.java  /* UnsupportedClassVersionError.java -- thrown when a class file version
2     Copyright (C) 1998 Free Software Foundation, Inc.     exceeds the capability of the virtual machine
3       Copyright (C) 1998, 2002 Free Software Foundation, Inc.
4    
5  This file is part of GNU Classpath.  This file is part of GNU Classpath.
6    
# Line 7  GNU Classpath is free software; you can Line 8  GNU Classpath is free software; you can
8  it under the terms of the GNU General Public License as published by  it under the terms of the GNU General Public License as published by
9  the Free Software Foundation; either version 2, or (at your option)  the Free Software Foundation; either version 2, or (at your option)
10  any later version.  any later version.
11    
12  GNU Classpath is distributed in the hope that it will be useful, but  GNU Classpath is distributed in the hope that it will be useful, but
13  WITHOUT ANY WARRANTY; without even the implied warranty of  WITHOUT ANY WARRANTY; without even the implied warranty of
14  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
# Line 43  package java.lang; Line 44  package java.lang;
44   * Java Virtual Machine determines it does not support the major and minor   * Java Virtual Machine determines it does not support the major and minor
45   * version numbers in the class file it is attempting to read.   * version numbers in the class file it is attempting to read.
46   *   *
  * @since JDK 1.2  
  *  
47   * @author Brian Jones   * @author Brian Jones
48     * @since 1.2
49     * @status updated to 1.4
50   */   */
51  public class UnsupportedClassVersionError extends ClassFormatError  public class UnsupportedClassVersionError extends ClassFormatError
52  {  {
53    static final long serialVersionUID = -7123279212883497373L;    /**
54       * Compatible with JDK 1.2+.
55       */
56      private static final long serialVersionUID = -7123279212883497373L;
57    
58    /**    /**
59     * Create an error without a message.     * Create an error without a message.
60     */     */
61    public UnsupportedClassVersionError()    public UnsupportedClassVersionError()
62      {    {
63        super();    }
     }  
64    
65    /**    /**
66     * Create an error with a message.     * Create an error with a message.
67       *
68       * @param s the message
69     */     */
70    public UnsupportedClassVersionError(String s)    public UnsupportedClassVersionError(String s)
71      {    {
72        super(s);      super(s);
73      }    }
74  }  }

Legend:
Removed from v.1.4  
changed lines
  Added in v.1.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26