MCPcopy Index your code
hub / github.com/clojure/clojure / putExceptionTable

Method putExceptionTable

src/jvm/clojure/asm/Handler.java:186–197  ·  view source on GitHub ↗

Puts the JVMS exception_table corresponding to the Handler list that begins with the given element. This includes the exception_table_length field. @param firstHandler the beginning of a Handler list. May be null . @param output where the exception_table_length and exception_table st

(final Handler firstHandler, final ByteVector output)

Source from the content-addressed store, hash-verified

184 * @param output where the exception_table_length and exception_table structures must be put.
185 */
186 static void putExceptionTable(final Handler firstHandler, final ByteVector output) {
187 output.putShort(getExceptionTableLength(firstHandler));
188 Handler handler = firstHandler;
189 while (handler != null) {
190 output
191 .putShort(handler.startPc.bytecodeOffset)
192 .putShort(handler.endPc.bytecodeOffset)
193 .putShort(handler.handlerPc.bytecodeOffset)
194 .putShort(handler.catchType);
195 handler = handler.nextHandler;
196 }
197 }
198}

Callers 1

putMethodInfoMethod · 0.95

Calls 2

putShortMethod · 0.80

Tested by

no test coverage detected