Modifier and Type | Field and Description |
---|---|
public String | classname
Name of the invalid class. |
private static final long |
Access | Constructor and Description |
---|---|
public | InvalidClassException(String
String describing the reason for the exception. reason)Report an InvalidClassException for the reason specified. |
public | InvalidClassException(String
a String naming the invalid class. cname, String a String describing the reason for the exception. reason)Constructs an InvalidClassException object. |
public | InvalidClassException(String
String describing the reason for the exception. reason, Throwable the cause cause)Report an InvalidClassException for the reason and cause specified. |
public | InvalidClassException(String
a String naming the invalid class. cname, String String describing the reason for the exception. reason, Throwable the cause cause)Report an InvalidClassException for the reason and cause specified. |
Modifier and Type | Method and Description |
---|---|
public String | getMessage()
Overrides java. Produce the message and include the classname, if present. |
classname | back to summary |
---|---|
public String classname Name of the invalid class. |
serialVersionUID | back to summary |
---|---|
private static final long serialVersionUID Hides java. |
InvalidClassException | back to summary |
---|---|
public InvalidClassException(String reason) Report an InvalidClassException for the reason specified.
|
InvalidClassException | back to summary |
---|---|
public InvalidClassException(String cname, String reason) Constructs an InvalidClassException object. |
InvalidClassException | back to summary |
---|---|
public InvalidClassException(String reason, Throwable cause) Report an InvalidClassException for the reason and cause specified. |
InvalidClassException | back to summary |
---|---|
public InvalidClassException(String cname, String reason, Throwable cause) Report an InvalidClassException for the reason and cause specified. |
getMessage | back to summary |
---|---|
public String getMessage() Overrides java. Produce the message and include the classname, if present.
|