Package org.objectweb.asm
Class ClassTooLargeException
- 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.IndexOutOfBoundsExceptionException thrown when the constant pool of a class produced by aClassWriteris too large.- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.StringclassNameprivate intconstantPoolCountprivate static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description ClassTooLargeException(java.lang.String className, int constantPoolCount)Constructs a newClassTooLargeException.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.StringgetClassName()Returns the internal name of the class.intgetConstantPoolCount()Returns the number of constant pool items of the class.
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
className
private final java.lang.String className
-
constantPoolCount
private final int constantPoolCount
-
-
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.
-
-