Class 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.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExceptionInfoEditor​(CodeAttribute codeAttribute)
      Creates a new ExceptionInfoEditor that can add exceptions to the given code attribute.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void appendException​(ExceptionInfo exceptionInfo)
      Appends the given exception to the exception table.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • ExceptionInfoEditor

        public ExceptionInfoEditor​(CodeAttribute codeAttribute)
        Creates a new ExceptionInfoEditor that can add exceptions to the given code attribute.
    • Method Detail

      • appendException

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