MCPcopy Index your code
hub / github.com/apache/tomcat / handleThrowable

Method handleThrowable

java/org/apache/el/util/ExceptionUtils.java:39–48  ·  view source on GitHub ↗

Checks whether the supplied Throwable is one that needs to be rethrown and swallows all others. @param t the Throwable to check

(Throwable t)

Source from the content-addressed store, hash-verified

37 * @param t the Throwable to check
38 */
39 public static void handleThrowable(Throwable t) {
40 if (t instanceof StackOverflowError) {
41 // Swallow silently - it should be recoverable
42 return;
43 }
44 if (t instanceof VirtualMachineError) {
45 throw (VirtualMachineError) t;
46 }
47 // All other instances of Throwable will be silently swallowed
48 }
49
50
51 /**

Callers 5

mainMethod · 0.95
doGetMethod · 0.95
getObjectInstanceMethod · 0.95
coerceToStringMethod · 0.95
createNodeInternalMethod · 0.95

Calls

no outgoing calls

Tested by 2

mainMethod · 0.76
doGetMethod · 0.76