IT. Expert System.

Java Standard Edition (SE)

InvalidClassException


compact1, compact2, compact3
java.io

Class InvalidClassException

  • All Implemented Interfaces:
    Serializable


    public class InvalidClassException
    extends ObjectStreamException
    Thrown when the Serialization runtime detects one of the following problems with a Class.
    • The serial version of the class does not match that of the class descriptor read from the stream
    • The class contains unknown datatypes
    • The class does not have an accessible no-arg constructor
    Since:
    JDK1.1
    See Also:
    Serialized Form
    • Field Detail

      • classname

        public String classname
        Name of the invalid class.
    • Constructor Detail

      • InvalidClassException

        public InvalidClassException(String reason)
        Report an InvalidClassException for the reason specified.
        Parameters:
        reason - String describing the reason for the exception.
      • InvalidClassException

        public InvalidClassException(String cname,
                                     String reason)
        Constructs an InvalidClassException object.
        Parameters:
        cname - a String naming the invalid class.
        reason - a String describing the reason for the exception.
    • Method Detail

      • getMessage

        public String getMessage()
        Produce the message and include the classname, if present.
        Overrides:
        getMessage in class Throwable
        Returns:
        the detail message string of this Throwable instance (which may be null).


Content

Android Reference

Java basics

Java Enterprise Edition (EE)

Java Standard Edition (SE)

SQL

HTML

PHP

CSS

Java Script

MYSQL

JQUERY

VBS

REGEX

C

C++

C#

Design patterns

RFC (standard status)

RFC (proposed standard status)

RFC (draft standard status)

RFC (informational status)

RFC (experimental status)

RFC (best current practice status)

RFC (historic status)

RFC (unknown status)

IT dictionary

License.
All information of this service is derived from the free sources and is provided solely in the form of quotations. This service provides information and interfaces solely for the familiarization (not ownership) and under the "as is" condition.
Copyright 2016 © ELTASK.COM. All rights reserved.
Site is optimized for mobile devices.
Downloads: 528 / 158691967. Delta: 0.02430 с