类 ClassTooLargeException

所有已实现的接口:
Serializable

public final class ClassTooLargeException extends IndexOutOfBoundsException
Exception thrown when the constant pool of a class produced by a ClassWriter is too large.
作者:
Jason Zaugg
另请参阅:
  • 字段详细资料

    • serialVersionUID

      private static final long serialVersionUID
      另请参阅:
    • className

      private final String className
    • constantPoolCount

      private final int constantPoolCount
  • 构造器详细资料

    • ClassTooLargeException

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

    • getClassName

      public String getClassName()
      Returns the internal name of the class.
      返回:
      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.