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.IllegalClassFormatExceptionpublic class IllegalClassFormatException extends Exception { // Public Constructors public IllegalClassFormatException ( ); public IllegalClassFormatException (String s ); } Thrown ByClassFileTransformer.transform( ) |