Package io.deephaven.util
Class ExceptionDetails
java.lang.Object
io.deephaven.util.ExceptionDetails
- All Implemented Interfaces:
Serializable
Class to help with determining details from Throwable instances.
- See Also:
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic boolean
testExceptionDetails
(@Nullable ExceptionDetails exceptionDetails, @NotNull Predicate<ExceptionDetails> testToApply) Returns true if exceptionDetails is not null and the result of applying testToApply on exceptionDetails is truetoString()
-
Constructor Details
-
ExceptionDetails
-
-
Method Details
-
getErrorMessage
-
getFullStackTrace
-
getShortCauses
-
toString
-
testExceptionDetails
public static boolean testExceptionDetails(@Nullable @Nullable ExceptionDetails exceptionDetails, @NotNull @NotNull Predicate<ExceptionDetails> testToApply) Returns true if exceptionDetails is not null and the result of applying testToApply on exceptionDetails is true- Parameters:
exceptionDetails
- the exception to testtestToApply
- the test to apply- Returns:
- true if exceptionDetails is not null and testToApply returns true
-