Class ExceptionDetails

java.lang.Object
io.deephaven.util.ExceptionDetails
All Implemented Interfaces:
Serializable

public class ExceptionDetails extends Object implements Serializable
Class to help with determining details from Throwable instances.
See Also:
  • Constructor Details

    • ExceptionDetails

      public ExceptionDetails(Throwable throwable)
  • Method Details

    • getErrorMessage

      public String getErrorMessage()
    • getFullStackTrace

      public String getFullStackTrace()
    • getShortCauses

      public String getShortCauses()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • 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 test
      testToApply - the test to apply
      Returns:
      true if exceptionDetails is not null and testToApply returns true