Top Description Fields Constructors Methods
jdk.internal.org.objectweb.asm

public final Class ClassTooLargeException

extends IndexOutOfBoundsException
Class Inheritance

Exception thrown when the constant pool of a class produced by a ClassWriter is too large.
Author
Jason Zaugg

Field Summary

Modifier and TypeField and Description
private final String
private final int
private static final long

Constructor Summary

AccessConstructor and Description
public
ClassTooLargeException(final String
the internal name of the class (see jdk.internal.org.objectweb.asm.Type#getInternalName()).
className
,
final int
the number of constant pool items of the class.
constantPoolCount
)

Constructs a new ClassTooLargeException.

Method Summary

Modifier and TypeMethod and Description
public String

Returns:

the internal name of the class.
getClassName
()

Returns the internal name of the class (see jdk.internal.org.objectweb.asm.Type#getInternalName()).

public int

Returns:

the number of constant pool items of the class.
getConstantPoolCount
()

Returns the number of constant pool items of the class.

Field Detail

classNameback to summary
private final String className
constantPoolCountback to summary
private final int constantPoolCount
serialVersionUIDback to summary
private static final long serialVersionUID

Hides java.lang.IndexOutOfBoundsException.serialVersionUID.

Constructor Detail

ClassTooLargeExceptionback to summary
public ClassTooLargeException(final String className, final int constantPoolCount)

Constructs a new ClassTooLargeException.

Parameters
className:String

the internal name of the class (see jdk.internal.org.objectweb.asm.Type#getInternalName()).

constantPoolCount:int

the number of constant pool items of the class.

Method Detail

getClassNameback to summary
public String getClassName()

Returns the internal name of the class (see jdk.internal.org.objectweb.asm.Type#getInternalName()).

Returns:String

the internal name of the class.

getConstantPoolCountback to summary
public int getConstantPoolCount()

Returns the number of constant pool items of the class.

Returns:int

the number of constant pool items of the class.