Package org.eclipse.sisu.space.asm
Class ClassTooLargeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IndexOutOfBoundsException
-
- org.eclipse.sisu.space.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.- Author:
- Jason Zaugg
- See Also:
- Serialized Form
-
-
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 (seeType.getInternalName()).intgetConstantPoolCount()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 (seeType.getInternalName()).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 (seeType.getInternalName()).- 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.
-
-