Class Correspondence.StoredException

java.lang.Object
com.google.common.truth.Correspondence.StoredException
Enclosing class:
Correspondence<A,E>

private static class Correspondence.StoredException extends Object
  • Field Details

    • ARGUMENT_JOINER

      private static final com.google.common.base.Joiner ARGUMENT_JOINER
    • exception

      private final Exception exception
    • methodName

      private final String methodName
    • methodArguments

      private final List<Object> methodArguments
  • Constructor Details

  • Method Details

    • describe

      private String describe()
      Returns a String describing the exception stored. This includes a stack trace (except under j2cl, where this is not available). It also has a separator at the end, so that when this appears at the end of an AssertionError message, the stack trace of the stored exception is distinguishable from the stack trace of the AssertionError.