Skip to content

Commit

Permalink
Fixed missing AssertionError catch
Browse files Browse the repository at this point in the history
  • Loading branch information
diptopol committed Jun 29, 2022
1 parent 6ac5377 commit 3d779c7
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions src/main/java/ca/concordia/jaranalyzer/TypeInferenceV2API.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ public static MethodInfo getMethodInfo(Set<Artifact> dependentArtifactSet,

return methodInfoList.isEmpty() ? null : methodInfoList.get(0);

} catch (Exception e) {
} catch (Exception | AssertionError e) {
logger.error("Exception occurred", e);
}

Expand Down Expand Up @@ -79,7 +79,7 @@ public static MethodInfo getMethodInfo(Set<Artifact> dependentArtifactSet,

return methodInfoList.isEmpty() ? null : methodInfoList.get(0);

} catch (Exception e) {
} catch (Exception | AssertionError e) {
logger.error("Exception occurred", e);
}

Expand Down Expand Up @@ -117,7 +117,7 @@ public static MethodInfo getMethodInfo(Set<Artifact> dependentArtifactSet,

return methodInfoList.isEmpty() ? null : methodInfoList.get(0);

} catch (Exception e) {
} catch (Exception | AssertionError e) {
logger.error("Exception occurred", e);
}

Expand Down Expand Up @@ -183,7 +183,7 @@ public static MethodInfo getMethodInfo(Set<Artifact> dependentArtifactSet,

return methodInfoList.isEmpty() ? null : methodInfoList.get(0);

} catch (Exception e) {
} catch (Exception | AssertionError e) {
logger.error("Exception occurred", e);
}

Expand Down Expand Up @@ -242,7 +242,7 @@ public static MethodInfo getMethodInfo(Set<Artifact> dependentArtifactSet,

return methodInfoList.isEmpty() ? null : methodInfoList.get(0);

} catch (Exception e) {
} catch (Exception | AssertionError e) {
logger.error("Exception occurred", e);
}

Expand Down

0 comments on commit 3d779c7

Please sign in to comment.