|
FlexDoc/Javadoc 2.0 Demo Java Doc |
Class InvalidClassException
java.io.InvalidClassException
All Implemented Interfaces:
public class InvalidClassException
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
- The ObjectStreamClass of an enum constant does not represent
an enum type
- Other conditions given in the Java Object Serialization
Specification
Since:
1.1
See Also:
Field Summary |
|
Name of the invalid class.
|
Constructor Summary |
Report an InvalidClassException for the reason specified.
|
Constructs an InvalidClassException object.
|
Method Summary |
|
Produce the message and include the classname, if present.
|
Methods inherited from class java.lang. Throwable |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |
Methods inherited from class java.lang. Object |
|
Name of the invalid class.
public InvalidClassException |
|
Report an InvalidClassException for the reason specified.
Parameters:
reason - String describing the reason for the exception.
public InvalidClassException |
|
Constructs an InvalidClassException object.
Parameters:
cname - a String naming the invalid class.
reason - a String describing the reason for the exception.
Produce the message and include the classname, if present.
Overrides:
Returns:
the detail message string of this Throwable instance
(which may be null).
|
FlexDoc/Javadoc 2.0 Demo Java Doc |
FlexDoc/Javadoc is a template-driven programming tool for rapid development of any Javadoc-based Java API documentation generators (i.e. doclets). If you need to customize your Javadoc without writing a full-blown doclet from scratch,
FlexDoc/Javadoc may be the only tool able to help you! Find out more at
www.flexdoc.xyz