Class AssertionFailedException

All Implemented Interfaces:
Serializable

public class AssertionFailedException extends RuntimeException
Assertions for empty code paths that should never be executed.
See Also:
  • Constructor Details

    • AssertionFailedException

      public AssertionFailedException(Exception ex)
      Creates an AssertionFailedException for the given exception that should never have been thrown.
      Parameters:
      ex - the exception that should never have been thrown.
  • Method Details