public static class Require.FailureException
extends AssertionError
As a subclass of AssertionError, this allows detection of failed assertions detected by this class.
| Constructor and Description |
|---|
FailureException()
Constructs an instance.
|
FailureException(Object cause)
Constructs an instance.
|
FailureException(Object text,
Exception cause)
Constructs an instance.
|
public FailureException()
public FailureException(@Nonnull
Object cause)
cause - Some explanatory text or the cause of the failure.public FailureException(@Nonnull
Object text,
@Nonnull
Exception cause)
text - Explanatory text.cause - The cause of the failure.Copyright © 2003-2019 Serge Brisson. All Rights Reserved.