Class ExceptionSoftening.CatchInfo

  • Enclosing class:
    ExceptionSoftening

    private static class ExceptionSoftening.CatchInfo
    extends java.lang.Object
    holds information about a catch block the start and end pcs, as well as the exception signature. you can't always determine the end of a catch block, and in this case the value will be Integer.MAX_VALUE
    • Constructor Summary

      Constructors 
      Constructor Description
      CatchInfo​(int start, int finish, java.lang.String signature)  
    • Field Detail

      • catchStart

        private final int catchStart
      • catchFinish

        private int catchFinish
      • catchSignature

        private final java.lang.String catchSignature
    • Constructor Detail

      • CatchInfo

        public CatchInfo​(int start,
                         int finish,
                         java.lang.String signature)
    • Method Detail

      • getStart

        public int getStart()
      • setFinish

        public void setFinish​(int finish)
      • getFinish

        public int getFinish()
      • getSignature

        public java.lang.String getSignature()
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object