当前页面:
在线文档首页 >
NetBeans API Javadoc (Current Development Version)
InvalidClassFileAttributeException (Classfile Reader) - NetBeans API Javadoc (Current Development Version)
org.netbeans.modules.classfile
Class InvalidClassFileAttributeException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.netbeans.modules.classfile.InvalidClassFileAttributeException
- 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
Methods inherited from class java.lang.Throwable |
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString |