Package jminusminus

Class CLExceptionInfo

java.lang.Object
jminusminus.CLExceptionInfo

class CLExceptionInfo extends Object
Representation of exception_table entry structure.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    int
    exception_table_entry.catch_type item.
    int
    exception_table_entry.end_pc item.
    int
    exception_table_entry.handler_pc item.
    int
    exception_table_entry.start_pc item.
  • Constructor Summary

    Constructors
    Constructor
    Description
    CLExceptionInfo(int startPC, int endPC, int handlerPC, int catchType)
    Construct a CLExceptionInfo object.
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Write the contents of this object to the specified output stream.

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • startPC

      public int startPC
      exception_table_entry.start_pc item.
    • endPC

      public int endPC
      exception_table_entry.end_pc item.
    • handlerPC

      public int handlerPC
      exception_table_entry.handler_pc item.
    • catchType

      public int catchType
      exception_table_entry.catch_type item.
  • Constructor Details

    • CLExceptionInfo

      public CLExceptionInfo(int startPC, int endPC, int handlerPC, int catchType)
      Construct a CLExceptionInfo object.
      Parameters:
      startPC - exception_table_entry.start_pc item.
      endPC - exception_table_entry.end_pc item.
      handlerPC - exception_table_entry.handler_pc item.
      catchType - exception_table_entry.catch_type item.
  • Method Details

    • write

      public void write(CLOutputStream out) throws IOException
      Write the contents of this object to the specified output stream.
      Parameters:
      out - output stream.
      Throws:
      IOException - if an error occurs while writing.