summaryrefslogtreecommitdiffstats
path: root/libjava/java/lang/UnsupportedClassVersionError.java
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/java/lang/UnsupportedClassVersionError.java')
-rw-r--r--libjava/java/lang/UnsupportedClassVersionError.java29
1 files changed, 17 insertions, 12 deletions
diff --git a/libjava/java/lang/UnsupportedClassVersionError.java b/libjava/java/lang/UnsupportedClassVersionError.java
index b90329df866..7250949c9f6 100644
--- a/libjava/java/lang/UnsupportedClassVersionError.java
+++ b/libjava/java/lang/UnsupportedClassVersionError.java
@@ -1,5 +1,6 @@
-/* UnsupportedClassVersionError.java
- Copyright (C) 1998 Free Software Foundation, Inc.
+/* UnsupportedClassVersionError.java -- thrown when a class file version
+ exceeds the capability of the virtual machine
+ Copyright (C) 1998, 2002 Free Software Foundation, Inc.
This file is part of GNU Classpath.
@@ -7,7 +8,7 @@ GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
-
+
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
@@ -43,27 +44,31 @@ package java.lang;
* Java Virtual Machine determines it does not support the major and minor
* version numbers in the class file it is attempting to read.
*
- * @since JDK 1.2
- *
* @author Brian Jones
+ * @since 1.2
+ * @status updated to 1.4
*/
public class UnsupportedClassVersionError extends ClassFormatError
{
- static final long serialVersionUID = -7123279212883497373L;
+ /**
+ * Compatible with JDK 1.2+.
+ */
+ private static final long serialVersionUID = -7123279212883497373L;
/**
* Create an error without a message.
*/
public UnsupportedClassVersionError()
- {
- super();
- }
+ {
+ }
/**
* Create an error with a message.
+ *
+ * @param s the message
*/
public UnsupportedClassVersionError(String s)
- {
- super(s);
- }
+ {
+ super(s);
+ }
}
OpenPOWER on IntegriCloud