Package java.lang
Class UnsupportedClassVersionError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.LinkageError
java.lang.ClassFormatError
java.lang.UnsupportedClassVersionError
- All Implemented Interfaces:
Serializable
public class UnsupportedClassVersionError extends ClassFormatError
Thrown when an attempt is made to load a class with a format version that is
not supported by the VM.
- See Also:
- Serialized Form
-
Constructor Summary
Constructors Constructor Description UnsupportedClassVersionError()Constructs a newUnsupportedClassVersionErrorthat includes the current stack trace.UnsupportedClassVersionError(String detailMessage)Constructs a newUnsupportedClassVersionErrorwith the current stack trace and the specified detail message. -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
UnsupportedClassVersionError
public UnsupportedClassVersionError()Constructs a newUnsupportedClassVersionErrorthat includes the current stack trace. -
UnsupportedClassVersionError
Constructs a newUnsupportedClassVersionErrorwith the current stack trace and the specified detail message.- Parameters:
detailMessage- the detail message for this exception.
-