Team LiB
Previous Section Next Section

IllegalClassFormatExceptionjava.lang.instrument

Java 5.0serializable 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( )

    Team LiB
    Previous Section Next Section