类 ExceptionInfoEditor


  • public class ExceptionInfoEditor
    extends java.lang.Object
    This class can add exceptions to the exception table of a given code attribute. The exceptions must have been filled out beforehand.
    • 构造器概要

      构造器 
      构造器 说明
      ExceptionInfoEditor​(CodeAttribute codeAttribute)
      Creates a new ExceptionInfoEditor that can add exceptions to the given code attribute.
    • 方法概要

      所有方法 实例方法 具体方法 
      修饰符和类型 方法 说明
      void appendException​(ExceptionInfo exceptionInfo)
      Appends the given exception to the exception table.
      • 从类继承的方法 java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 构造器详细资料

      • ExceptionInfoEditor

        public ExceptionInfoEditor​(CodeAttribute codeAttribute)
        Creates a new ExceptionInfoEditor that can add exceptions to the given code attribute.
    • 方法详细资料

      • appendException

        public void appendException​(ExceptionInfo exceptionInfo)
        Appends the given exception to the exception table.