Package org.spockframework.runtime
Class UnallowedExceptionThrownError
java.lang.Object
java.lang.Throwable
java.lang.Error
java.lang.AssertionError
org.spockframework.runtime.SpockAssertionError
org.spockframework.runtime.UnallowedExceptionThrownError
- All Implemented Interfaces:
Serializable
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionUnallowedExceptionThrownError
(Class<? extends Throwable> unallowed, 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
-
UnallowedExceptionThrownError
-
-
Method Details
-
getUnallowed
-
getActual
-
getMessage
- Overrides:
getMessage
in classThrowable
-