Java in a Nutshell, 5th Edition [Electronic resources] نسخه متنی

اینجــــا یک کتابخانه دیجیتالی است

با بیش از 100000 منبع الکترونیکی رایگان به زبان فارسی ، عربی و انگلیسی

Java in a Nutshell, 5th Edition [Electronic resources] - نسخه متنی

| نمايش فراداده ، افزودن یک نقد و بررسی
افزودن به کتابخانه شخصی
ارسال به دوستان
جستجو در متن کتاب
بیشتر
تنظیمات قلم

فونت

اندازه قلم

+ - پیش فرض

حالت نمایش

روز نیمروز شب
جستجو در لغت نامه
بیشتر
لیست موضوعات
توضیحات
افزودن یادداشت جدید




Signals
that the serialization mechanism has encountered one of several
possible problems with the class of an object that is being
serialized or deserialized. The classname field
should contain the name of the class in question, and the
getMessage( ) method is overridden to return this class
name with the message.


Figure 9-28. java.io.InvalidClassException

public class 

InvalidClassException extends ObjectStreamException {
// Public Constructors
public

InvalidClassException (String

reason );
public

InvalidClassException (String

cname , String

reason );
// Public Methods Overriding Throwable
public String

getMessage ( );
// Public Instance Fields
public String

classname ;
}



/ 1191