### Question:
Handler { static void putExceptionTable(final Handler firstHandler, final ByteVector output) { output.putShort(getExceptionTableLength(firstHandler)); Handler handler = firstHandler; while (handler != null) { output .putShort(handler.startPc.bytecodeOffset) .putShort(handler.endPc.bytecodeOffset) .putShort(handler.handlerPc.bytecodeOffset) .putShort(handler.catchType); handler = handler.nextHandler; } } Handler(
      final Label startPc,
      final Label endPc,
      final Label handlerPc,
      final int catchType,
      final String catchTypeDescriptor);   Handler(final Handler handler, final Label startPc, final Label endPc);   }### Answer:
@Test public void testPutExceptionTable() { Handler handlerList = Handler.removeRange(newHandler(10, 20), newLabel(13), newLabel(17)); ByteVector byteVector = new ByteVector(); Handler.putExceptionTable(handlerList, byteVector); assertEquals(18, byteVector.length); }