Added in API level 1

UnsupportedClassVersionError

open class UnsupportedClassVersionError : ClassFormatError
kotlin.Any
   ↳ kotlin.Throwable
   ↳ java.lang.Error
   ↳ java.lang.LinkageError
   ↳ java.lang.ClassFormatError
   ↳ java.lang.UnsupportedClassVersionError

Thrown when the Java Virtual Machine attempts to read a class file and determines that the major and minor version numbers in the file are not supported.

Summary

Public constructors

Constructs a UnsupportedClassVersionError with no detail message.

Constructs a UnsupportedClassVersionError with the specified detail message.

Public constructors

UnsupportedClassVersionError

Added in API level 1
UnsupportedClassVersionError()

Constructs a UnsupportedClassVersionError with no detail message.

UnsupportedClassVersionError

Added in API level 1
UnsupportedClassVersionError(s: String!)

Constructs a UnsupportedClassVersionError with the specified detail message.

Parameters
s String!: the detail message.