- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IndexOutOfBoundsException
-
- org.objectweb.asm.ClassTooLargeException
-
- All Implemented Interfaces:
java.io.Serializable
public final class ClassTooLargeException extends java.lang.IndexOutOfBoundsException
Exception thrown when the constant pool of a class produced by aClassWriter
is too large.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassTooLargeException(java.lang.String className, int constantPoolCount)
Constructs a newClassTooLargeException
.
-
Method Summary
Modifier and Type Method Description java.lang.String
getClassName()
Returns the internal name of the class.int
getConstantPoolCount()
Returns the number of constant pool items of the class.
-
-
-
Constructor Detail
-
ClassTooLargeException
public ClassTooLargeException(java.lang.String className, int constantPoolCount)
Constructs a newClassTooLargeException
.- Parameters:
className
- the internal name of the class.constantPoolCount
- the number of constant pool items of the class.
-
-
Method Detail
-
getClassName
public java.lang.String getClassName()
Returns the internal name of the class.- Returns:
- the internal name of the class.
-
getConstantPoolCount
public int getConstantPoolCount()
Returns the number of constant pool items of the class.- Returns:
- the number of constant pool items of the class.
-
-