MCPcopy Create free account
hub / github.com/apache/tomcat / handleThrowable

Method handleThrowable

java/org/apache/catalina/startup/Bootstrap.java:558–567  ·  view source on GitHub ↗
(Throwable t)

Source from the content-addressed store, hash-verified

556
557 // Copied from ExceptionUtils since that class is not visible during start
558 static void handleThrowable(Throwable t) {
559 if (t instanceof StackOverflowError) {
560 // Swallow silently - it should be recoverable
561 return;
562 }
563 if (t instanceof VirtualMachineError) {
564 throw (VirtualMachineError) t;
565 }
566 // All other instances of Throwable will be silently swallowed
567 }
568
569 // Copied from ExceptionUtils so that there is no dependency on utils
570 static Throwable unwrapInvocationTargetException(Throwable t) {

Callers 3

initClassLoadersMethod · 0.95
mainMethod · 0.95
mainMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected