Package org.spockframework.mock
Class CannotCreateMockException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.spockframework.mock.CannotCreateMockException
- All Implemented Interfaces:
Serializable
Thrown to indicate a problem when creating a mock object.
- Author:
- Peter Niederwieser
- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionCannotCreateMockException
(Class<?> mockType, String message) CannotCreateMockException
(Class<?> mockType, String message, Throwable cause) CannotCreateMockException
(Class<?> mockType, Throwable cause) -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
CannotCreateMockException
-
CannotCreateMockException
-
CannotCreateMockException
-