Package io.sentry.util
Class ExceptionUtils
java.lang.Object
io.sentry.util.ExceptionUtils
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull Throwable
findRootCause
(@NotNull Throwable throwable) Returns exception root cause or the exception itself if there are no causes
-
Constructor Details
-
ExceptionUtils
public ExceptionUtils()
-
-
Method Details
-
findRootCause
Returns exception root cause or the exception itself if there are no causes- Parameters:
throwable
- - the throwable- Returns:
- the root cause
-