-
-
Field Summary
Fields
Modifier and Type |
Field |
Description |
String |
classname |
Name of the invalid class.
|
-
Method Summary
Modifier and Type |
Method |
Description |
String |
getMessage() |
Produce the message and include the classname, if present.
|
-
Methods declared in class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
-
Constructor Detail
-
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.