MCPcopy Create free account
hub / github.com/LFYSec/MScan / exception

Method exception

src/test/resources/world/AllInOne.java:155–177  ·  view source on GitHub ↗
(int x)

Source from the content-addressed store, hash-verified

153 }
154
155 int exception(int x) {
156 try {
157 if (x > 100) {
158 hidden();
159 x = x * 10;
160 try {
161 if (x == 0) {
162 throw new RuntimeException();
163 }
164 } catch (RuntimeException re) {
165 x = x + 1;
166 }
167 throw new Exception();
168 } else {
169 foo(10);
170 }
171 } catch (RuntimeException e) {
172 foo(20);
173 } catch (Exception e) {
174 }
175 x = x * 100;
176 return x;
177 }
178
179 void emptyExceptionHandler() {
180 try {

Callers

nothing calls this directly

Calls 2

hiddenMethod · 0.95
fooMethod · 0.95

Tested by

no test coverage detected