| java.lang.Object | |||||
| ↳ | java.lang.Throwable | ||||
| ↳ | java.lang.Exception | ||||
| ↳ | java.io.IOException | ||||
| ↳ | java.io.ObjectStreamException | ||||
| ↳ | java.io.InvalidClassException | ||||
Signals a problem during the serialization or or deserialization of an object. Possible reasons include:
| Fields | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
classname | The fully qualified name of the class that caused the problem. | |||||||||
| Public Constructors | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Constructs a new
InvalidClassException
with its stack trace and
detailed message filled in.
|
||||||||||
|
|
Constructs a new
InvalidClassException
with its stack trace,
detail message and the fully qualified name of the class which caused the
exception filled in.
|
||||||||||
| Public Methods | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
Returns the detail message which was provided when the exception was
created.
|
||||||||||
|
[Expand]
Inherited Methods
|
|||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Throwable
|
|||||||||||
From class
java.lang.Object
|
|||||||||||
The fully qualified name of the class that caused the problem.
Constructs a new
InvalidClassException
with its stack trace and
detailed message filled in.
| detailMessage | the detail message for this exception. |
|---|
Constructs a new
InvalidClassException
with its stack trace,
detail message and the fully qualified name of the class which caused the
exception filled in.
| className | the name of the class that caused the exception. |
|---|---|
| detailMessage | the detail message for this exception. |
Returns the detail message which was provided when the exception was
created.
null
is returned if no message was provided at creation
time. If a detail message as well as a class name are provided, then the
values are concatenated and returned.