/* */
/* */ private ExceptionInfo[] buildExceptionInfo(MethodInfo method) {
/* 213 */ ConstPool constPool = method.getConstPool();
/* 214 */ ClassPool classes = this.clazz.getClassPool();
/* */
/* 216 */ ExceptionTable table = method.getCodeAttribute().getExceptionTable();
/* 217 */ ExceptionInfo[] exceptions = new ExceptionInfo[table.size()];
/* 218 */ for (int i = 0; i < table.size(); i++) { int index = table.catchType(i);
/* */ Type type;
/* */ try { type = index == 0 ? Type.THROWABLE : Type.get(classes.get(constPool.getClassInfo(index)));
/* */ } catch (NotFoundException e) {
/* 224 */ throw new IllegalStateException(e.getMessage());
/* */ }
/* */
/* 227 */ exceptions[i] = new ExceptionInfo(table.startPc(i), table.endPc(i), table.handlerPc(i), type, null);
/* */ }
/* */
/* 230 */ return exceptions;
/* */ }