Assertion: exception's cause | /r/RelatedTo | throwable
Facets:
value: via the initcause(throwable) method
type: MANNER
value: via a constructor
type: MANNER
value: in two ways
type: MANNER
Source sentences:
text: A cause can be associated with a throwable in two ways: via a constructor that takes the cause as an argument, or via the initCause(Throwable) method.
text: Because the initCause method is public, it allows a cause to be associated with any throwable, even a "legacy throwable" whose implementation predates the addition of the exception chaining mechanism to Throwable .