Java In A Nutshell, 5th Edition

IllegalClassFormatException java.lang.instrument

Java 5.0 serializable checked

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( )

Категории