Name
IllegalClassFormatException
Synopsis
A
ClassFileTransformer
should throw an exception of
this type from its transform( )
method if it
believes that the class file bytes it has been passed are malformed
(this could happen, for example, if a defective
ClassFileTransformer
had previously transformed a
valid class file).
Figure 10-83. java.lang.instrument.IllegalClassFormatException
public class IllegalClassFormatException extends Exception { // Public Constructors public IllegalClassFormatException( ); public IllegalClassFormatException(String s); }
Thrown By
ClassFileTransformer.transform( )
Get Java in a Nutshell, 5th Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.