Package org.spockframework.mock
Class CannotInvokeRealMethodException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.spockframework.mock.CannotInvokeRealMethodException
-
- All Implemented Interfaces:
java.io.Serializable
public class CannotInvokeRealMethodException extends java.lang.RuntimeException
Thrown to indicate that an attempt was made to delegate a method call to a real object underlying a mock, although no such underlying object exists.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description CannotInvokeRealMethodException(java.lang.String message)
-