Class Platform.PlatformComparisonFailure

  • All Implemented Interfaces:
    java.io.Serializable
    Direct Known Subclasses:
    ComparisonFailureWithFacts
    Enclosing class:
    Platform

    abstract static class Platform.PlatformComparisonFailure
    extends org.junit.ComparisonFailure
    • Field Summary

      Fields 
      Modifier and Type Field Description
      private java.lang.Throwable cause
      Separate cause field, in case initCause() fails.
      private java.lang.String message  
    • Constructor Summary

      Constructors 
      Constructor Description
      PlatformComparisonFailure​(java.lang.String message, java.lang.String expected, java.lang.String actual, java.lang.Throwable cause)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getCause()  
      java.lang.String getMessage()  
      java.lang.String toString()  
      • Methods inherited from class org.junit.ComparisonFailure

        getActual, getExpected
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • message

        private final java.lang.String message
      • cause

        private final java.lang.Throwable cause
        Separate cause field, in case initCause() fails.
    • Constructor Detail

      • PlatformComparisonFailure

        PlatformComparisonFailure​(java.lang.String message,
                                  java.lang.String expected,
                                  java.lang.String actual,
                                  java.lang.Throwable cause)
    • Method Detail

      • getMessage

        public final java.lang.String getMessage()
        Overrides:
        getMessage in class org.junit.ComparisonFailure
      • getCause

        public final java.lang.Throwable getCause()
        Overrides:
        getCause in class java.lang.Throwable
      • toString

        public final java.lang.String toString()
        Overrides:
        toString in class java.lang.Throwable