Lines Matching refs:exc
1250 /** Is exc an exception symbol that need not be declared?
1252 boolean isUnchecked(ClassSymbol exc) {
1254 exc.kind == ERR ||
1255 exc.isSubClass(syms.errorType.tsym, types) ||
1256 exc.isSubClass(syms.runtimeExceptionType.tsym, types);
1259 /** Is exc an exception type that need not be declared?
1261 boolean isUnchecked(Type exc) {
1263 (exc.tag == TYPEVAR) ? isUnchecked(types.supertype(exc)) :
1264 (exc.tag == CLASS) ? isUnchecked((ClassSymbol)exc.tsym) :
1265 exc.tag == BOT;
1270 boolean isUnchecked(DiagnosticPosition pos, Type exc) {
1272 return isUnchecked(exc);
1279 /** Is exc handled by given exception list?
1281 boolean isHandled(Type exc, List<Type> handled) {
1282 return isUnchecked(exc) || subset(exc, handled);