if (excType instanceof RubyArray) {
RubyArray testTypes = (RubyArray)excType;
for (int i = 0, n = testTypes.getLength(); i < n; i++) {
IRubyObject testType = (IRubyObject)testTypes.eltInternal(i);
boolean handled = isUndefExc ? testType.isTrue() : exceptionHandled(context, testType, excObj);
if (handled) return runtime.newBoolean(true);
}
return runtime.newBoolean(false);
} else {
return isUndefExc ? excType : runtime.newBoolean(exceptionHandled(context, excType, excObj));
}