Package org.spockframework.runtime
Class WrongExceptionThrownError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.spockframework.runtime.SpockAssertionError
org.spockframework.runtime.WrongExceptionThrownError
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionWrongExceptionThrownError
(Class<? extends Throwable> expected, Throwable actual) -
Method Summary
Modifier and TypeMethodDescriptionMethods inherited from class org.spockframework.runtime.SpockAssertionError
toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace
-
Constructor Details
-
WrongExceptionThrownError
-
-
Method Details
-
getExpected
-
getActual
-
getMessage
- Overrides:
getMessage
in classThrowable
-