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.JoinerARGUMENT_JOINERprivate java.lang.Exceptionexceptionprivate java.util.List<java.lang.Object>methodArgumentsprivate java.lang.StringmethodName
-
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.Stringdescribe()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 anAssertionErrormessage, the stack trace of the stored exception is distinguishable from the stack trace of theAssertionError.
-
-