diff --git a/java/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll b/java/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll index c84afdafe4f..22f1a5bb945 100644 --- a/java/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll +++ b/java/ql/experimental/adaptivethreatmodeling/lib/experimental/adaptivethreatmodeling/EndpointCharacteristics.qll @@ -538,13 +538,7 @@ private class ExceptionCharacteristic extends NotASinkCharacteristic { exists(Expr::Call call, RefType type | n.asExpr() = call.getAnArgument() and type = call.getCallee().getDeclaringType().getASupertype*() and - ( - type instanceof TypeException or - type instanceof TypeThrowable or - type instanceof TypeRuntimeException or - type instanceof TypeClassCastException or - type instanceof TypeNullPointerException - ) + type instanceof TypeThrowable ) } }