Class ShouldNotHaveThrown

  • All Implemented Interfaces:
    org.assertj.core.error.ErrorMessageFactory

    public class ShouldNotHaveThrown
    extends org.assertj.core.error.BasicErrorMessageFactory
    Since:
    XMLUnit 2.8.1
    • Field Summary

      • Fields inherited from class org.assertj.core.error.BasicErrorMessageFactory

        arguments, format
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static org.assertj.core.error.ErrorMessageFactory shouldNotHaveThrown​(java.lang.Throwable throwable)  
      • Methods inherited from class org.assertj.core.error.BasicErrorMessageFactory

        create, create, create, equals, hashCode, toString, unquotedString
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Method Detail

      • shouldNotHaveThrown

        public static org.assertj.core.error.ErrorMessageFactory shouldNotHaveThrown​(java.lang.Throwable throwable)
        Parameters:
        throwable - Throwable actually thrown
        Returns:
        ErrorMessageFactory for "should not have thrown"