Package com.google.common.truth
Class Truth.SimpleAssertionError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
com.google.common.truth.Truth.SimpleAssertionError
- All Implemented Interfaces:
Serializable
- Enclosing class:
- Truth
An
AssertionError
that (a) always supports a cause, even under old versions of Android
and (b) omits "java.lang.AssertionError:" from the beginning of its toString() representation.-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) static Truth.SimpleAssertionError
(package private) static Truth.SimpleAssertionError
createWithNoStack
(String message) (package private) static Truth.SimpleAssertionError
createWithNoStack
(String message, Throwable cause) getCause()
toString()
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace