/** * Register multiple exception handlers for the top try block. If the * exception type maps to a zero label, then it is ignored. * * @param handlerLabels a map from integer constants representing an * exception type to the label of the exception * handler * @param startLabel the label where all of the exception handling * begins */ void setHandlers(int[] handlerLabels, int startLabel) { ExceptionInfo top = getTop(); for (int i = 0; i < handlerLabels.length; i++) { if (handlerLabels[i] != 0) { addHandler(i, handlerLabels[i], startLabel); } } }
/** * Register multiple exception handlers for the top try block. If the * exception type maps to a zero label, then it is ignored. * * @param handlerLabels a map from integer constants representing an * exception type to the label of the exception * handler * @param startLabel the label where all of the exception handling * begins */ void setHandlers(int[] handlerLabels, int startLabel) { ExceptionInfo top = getTop(); for (int i = 0; i < handlerLabels.length; i++) { if (handlerLabels[i] != 0) { addHandler(i, handlerLabels[i], startLabel); } } }
/** * Register multiple exception handlers for the top try block. If the * exception type maps to a zero label, then it is ignored. * * @param handlerLabels a map from integer constants representing an * exception type to the label of the exception * handler * @param startLabel the label where all of the exception handling * begins */ void setHandlers(int[] handlerLabels, int startLabel) { ExceptionInfo top = getTop(); for (int i = 0; i < handlerLabels.length; i++) { if (handlerLabels[i] != 0) { addHandler(i, handlerLabels[i], startLabel); } } }
/** * Register multiple exception handlers for the top try block. If the * exception type maps to a zero label, then it is ignored. * * @param handlerLabels a map from integer constants representing an * exception type to the label of the exception * handler * @param startLabel the label where all of the exception handling * begins */ void setHandlers(int[] handlerLabels, int startLabel) { ExceptionInfo top = getTop(); for (int i = 0; i < handlerLabels.length; i++) { if (handlerLabels[i] != 0) { addHandler(i, handlerLabels[i], startLabel); } } }