public class ExpectedToFailContext
extends Object
Delegate for closure predicates supplied to ExpectedToFail, exposing
the thrown exception under three convenient names: ex (the
Throwable itself), message (its message), and cause
(its cause, possibly null).
| Constructor and description |
|---|
ExpectedToFailContext(Throwable thrown) |
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.