Class WrongExceptionThrownError

    • Constructor Summary

      Constructors 
      Constructor Description
      WrongExceptionThrownError​(java.lang.Class<? extends java.lang.Throwable> expected, java.lang.Throwable actual)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.Throwable getActual()  
      java.lang.Class<? extends java.lang.Throwable> getExpected()  
      java.lang.String getMessage()  
      • Methods inherited from class java.lang.Throwable

        addSuppressed, fillInStackTrace, getCause, 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
    • Constructor Detail

      • WrongExceptionThrownError

        public WrongExceptionThrownError​(java.lang.Class<? extends java.lang.Throwable> expected,
                                         java.lang.Throwable actual)
    • Method Detail

      • getExpected

        public java.lang.Class<? extends java.lang.Throwable> getExpected()
      • getActual

        public java.lang.Throwable getActual()
      • getMessage

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