English | Site Directory

Android - An Open Handset Alliance Project

java.lang.instrument
public class

java.lang.instrument.IllegalClassFormatException

java.lang.Object
java.lang.Throwable Serializable
java.lang.Exception
java.lang.instrument.IllegalClassFormatException

This exception may be thrown from implementations of the method transform(ClassLoader, String, Class, ProtectionDomain, byte[]) when the class file bytes supplied to it are found to be corrupted or otherwise in a format which does not adhere to the expected Java class file format.

Summary

Public Constructors

          IllegalClassFormatException()
Constructs a new instance of IllegalClassFormatException with no explanatory message.
          IllegalClassFormatException(String s)
Constructs a new instance of IllegalClassFormatException with the supplied message, s, for explanation.
Methods inherited from class java.lang.Throwable
Methods inherited from class java.lang.Object

Details

Public Constructors

public IllegalClassFormatException()

Constructs a new instance of IllegalClassFormatException with no explanatory message.

public IllegalClassFormatException(String s)

Constructs a new instance of IllegalClassFormatException with the supplied message, s, for explanation.

Parameters

s a string containing information on why the exception is being created.
Build m5-rc15g - 14 May 2008 12:50