Closed palashborhanuddin closed 2 years ago
public static void throwsTest() throws IllegalAccessException { String ss = "string"; if (ss.length() == 0) { throw new IllegalAccessException("demo"); } }
Following groum formed for the above code snippet:
nodes=[2 String.length, 1 IF, 4 IllegalAccessException.<init>, 3 THROW], edges=[2 String.length-->1 IF , 4 IllegalAccessException.<init>-->3 THROW , 1 IF-->4 IllegalAccessException.<init> ]
Following groum formed for the above code snippet: