java.lang.instrument

Class IllegalClassFormatException

Implemented Interfaces:
Serializable

public class IllegalClassFormatException
extends Exception

Thrown by an implementation of ClassFileTransformer.transform when its input parameters are invalid. This may occur either because the initial class file bytes were invalid or a previously applied transform corrupted the bytes.
Since:
JDK1.5
See Also:
ClassFileTransformer.transform(ClassLoader,String,Class,ProtectionDomain,byte[]), Serialized Form

Constructor Summary

IllegalClassFormatException()
Constructs an IllegalClassFormatException with no detail message.
IllegalClassFormatException(String s)
Constructs an IllegalClassFormatException with the specified detail message.

Method Summary

Methods inherited from class java.lang.Throwable

fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString

Methods inherited from class java.lang.Object

clone, equals, extends Object> getClass, finalize, hashCode, notify, notifyAll, toString, wait, wait, wait

Constructor Details

IllegalClassFormatException

public IllegalClassFormatException()
Constructs an IllegalClassFormatException with no detail message.

IllegalClassFormatException

public IllegalClassFormatException(String s)
Constructs an IllegalClassFormatException with the specified detail message.
Parameters:
s - the detail message.