类 ClassTooLargeException

所有已实现的接口:
Serializable

public final class ClassTooLargeException extends IndexOutOfBoundsException
Exception thrown when the constant pool of a class produced by a ClassWriter is too large.
另请参阅:
  • 构造器详细资料

    • ClassTooLargeException

      public ClassTooLargeException(String className, int constantPoolCount)
      Constructs a new ClassTooLargeException.
      参数:
      className - the internal name of the class (see Type.getInternalName()).
      constantPoolCount - the number of constant pool items of the class.
  • 方法详细资料

    • getClassName

      public String getClassName()
      Returns the internal name of the class (see Type.getInternalName()).
      返回:
      the internal name of the class.
    • getConstantPoolCount

      public int getConstantPoolCount()
      Returns the number of constant pool items of the class.
      返回:
      the number of constant pool items of the class.