MCPcopy Index your code
hub / github.com/clojure/clojure / getCauseOrElse

Method getCauseOrElse

src/jvm/clojure/lang/Reflector.java:113–117  ·  view source on GitHub ↗
(Exception e)

Source from the content-addressed store, hash-verified

111}
112
113private static Throwable getCauseOrElse(Exception e) {
114 if (e.getCause() != null)
115 return e.getCause();
116 return e;
117}
118
119private static RuntimeException throwCauseOrElseException(Exception e) {
120 if (e.getCause() != null)

Callers 2

invokeMatchingMethodMethod · 0.95
invokeConstructorMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected