Class ShouldHaveRootCause

    • Constructor Detail

      • ShouldHaveRootCause

        private ShouldHaveRootCause​(java.lang.Throwable actual,
                                    java.lang.Throwable actualCause,
                                    java.lang.Throwable expectedCause)
      • ShouldHaveRootCause

        private ShouldHaveRootCause​(java.lang.Throwable actual,
                                    java.lang.Throwable expectedCause)
      • ShouldHaveRootCause

        private ShouldHaveRootCause​(java.lang.Throwable actual,
                                    java.lang.Throwable actualCause,
                                    java.lang.Class<? extends java.lang.Throwable> expectedCauseClass)
      • ShouldHaveRootCause

        private ShouldHaveRootCause​(java.lang.Throwable actual,
                                    java.lang.String expectedMessage)
      • ShouldHaveRootCause

        private ShouldHaveRootCause​(java.lang.Throwable actual,
                                    java.lang.Throwable actualCause,
                                    java.lang.String expectedCauseMessage)
    • Method Detail

      • shouldHaveRootCauseWithMessage

        public static ErrorMessageFactory shouldHaveRootCauseWithMessage​(java.lang.Throwable actual,
                                                                         java.lang.Throwable actualCause,
                                                                         java.lang.String expectedMessage)
      • shouldHaveRootCause

        public static ErrorMessageFactory shouldHaveRootCause​(java.lang.Throwable actual,
                                                              java.lang.Throwable actualCause,
                                                              java.lang.Throwable expectedCause)
      • shouldHaveRootCause

        public static ErrorMessageFactory shouldHaveRootCause​(java.lang.Throwable actualCause)