- All Implemented Interfaces:
- Serializable
public final class InvalidClassFileAttributeException
extends RuntimeException
Thrown when a classfile attribute does not follow the specified format.
This is an RuntimeException subclass rather than an Exception because it
is very unlikely that a classfile can be read without exception (such as
when the classfile is truncated or overwritten) yet have an invalid attribute.
Making this an Exception would force existing client code to be updated with
almost no benefit in robustness to those clients.
- See Also:
- Serialized Form