Package com.google.common.truth
Class Correspondence.StoredException
- java.lang.Object
-
- com.google.common.truth.Correspondence.StoredException
-
- Enclosing class:
- Correspondence<A,E>
private static class Correspondence.StoredException extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description private static com.google.common.base.Joiner
ARGUMENT_JOINER
private java.lang.Exception
exception
private java.util.List<java.lang.Object>
methodArguments
private java.lang.String
methodName
-
Constructor Summary
Constructors Constructor Description StoredException(java.lang.Exception exception, java.lang.String methodName, java.util.List<java.lang.Object> methodArguments)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description private java.lang.String
describe()
Returns a String describing the exception stored.
-
-
-
Method Detail
-
describe
private java.lang.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 anAssertionError
message, the stack trace of the stored exception is distinguishable from the stack trace of theAssertionError
.
-
-