Package org.datanucleus.enhancer.asm
Class ClassTooLargeException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- java.lang.IndexOutOfBoundsException
-
- org.datanucleus.enhancer.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
-
-
Field Summary
Fields Modifier and Type Field Description private java.lang.String
className
private int
constantPoolCount
private static long
serialVersionUID
-
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.String
getClassName()
Returns the internal name of the class.int
getConstantPoolCount()
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.
-
-