public class ActionFailedException extends RuntimeException
Modifier and Type | Method and Description |
---|---|
static ActionFailedException |
actionFailure(String message)
Creates a new
ActionFailedException . |
static ActionFailedException |
actionFailure(String message,
Throwable cause)
Creates a new
ActionFailedException . |
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
@Nonnull public static ActionFailedException actionFailure(@Nonnull String message)
ActionFailedException
.message
- the detail message.public static ActionFailedException actionFailure(@Nonnull String message, @Nonnull Throwable cause)
ActionFailedException
.message
- the detail message.cause
- the cause of the error.Copyright © 2014–2020 AssertJ. All rights reserved.