Class AxonAssertionError

All Implemented Interfaces:
Serializable

public class AxonAssertionError extends AssertionError
Error indication that an Assertion failed during a test case. The message of the error contains detailed information about the failed assertion.
Since:
0.6
Author:
Allard Buijze
See Also:
  • Constructor Details

    • AxonAssertionError

      public AxonAssertionError(@Nonnull String detailMessage)
      Create a new error instance using the given detailMessage.
      Parameters:
      detailMessage - A detailed description of the failed assertion.
    • AxonAssertionError

      public AxonAssertionError(@Nonnull String detailMessage, @Nonnull Throwable cause)
      Create a new error instance using the given cause and detailMessage.
      Parameters:
      detailMessage - A detailed description of the failed assertion.
      cause - The cause of the error.