public AssertionError failure(String message) {
    AssertionError assertionError = new AssertionError(message);
    removeFestRelatedElementsFromStackTraceIfNeeded(assertionError);
    return assertionError;
  }
public AssertionError failure(String message) {
    AssertionError assertionError = new AssertionError(message);
    removeFestRelatedElementsFromStackTraceIfNeeded(assertionError);
    return assertionError;
  }
public AssertionError failure ( String message ) { AssertionError assertionError = new AssertionError ( message ) ; removeFestRelatedElementsFromStackTraceIfNeeded ( assertionError ) ; return assertionError ; }
Creates a <code>{@link AssertionError}</code> using the given {@code String} as message.
<p>
It filters the AssertionError stack trace be default, to have full stack trace use
{@link #setRemoveFestRelatedElementsFromStackTrace(boolean)}.

@param message the message of the {@code AssertionError} to create.
@return the created <code>{@link AssertionError}</code>.
Creates a <code > { @link AssertionError } < / code > using the given { @code String } as message . <p > It filters the AssertionError stack trace be default to have full stack trace use { @link #setRemoveFestRelatedElementsFromStackTrace ( boolean ) } .