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:
Serializable
Exception thrown when the constant pool of a class produced by a
ClassWriter is too
large.- See Also:
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final Stringprivate final intprivate static final long -
Constructor Summary
ConstructorsConstructorDescriptionClassTooLargeException(String className, int constantPoolCount) Constructs a newClassTooLargeException. -
Method Summary
Modifier and TypeMethodDescriptionReturns the internal name of the class.intReturns the number of constant pool items of the class.Methods inherited from class Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
className
-
constantPoolCount
private final int constantPoolCount
-
-
Constructor Details
-
ClassTooLargeException
Constructs a newClassTooLargeException.- Parameters:
className- the internal name of the class.constantPoolCount- the number of constant pool items of the class.
-
-
Method Details
-
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.
-