Package java.lang

Class 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 Detail

      • UnsupportedClassVersionError

        public UnsupportedClassVersionError()
        Constructs a new UnsupportedClassVersionError that includes the current stack trace.
      • UnsupportedClassVersionError

        public UnsupportedClassVersionError​(String detailMessage)
        Constructs a new UnsupportedClassVersionError with the current stack trace and the specified detail message.
        Parameters:
        detailMessage - the detail message for this exception.