Package org.powermock.api.mockito
Class ClassNotPreparedException
- java.lang.Object
-
- java.lang.Throwable
-
- java.lang.Exception
-
- java.lang.RuntimeException
-
- org.powermock.api.mockito.ClassNotPreparedException
-
- All Implemented Interfaces:
java.io.Serializable
public class ClassNotPreparedException extends java.lang.RuntimeException
The exception is thrown when a user tries to mock class which is't prepared, but should be. For example it could be case mocking static call.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description ClassNotPreparedException(java.lang.String message)
-